-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IPVGO: Add support for highlighting nodes and adding small text
- Loading branch information
1 parent
bee59eb
commit a1c953f
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [GoAnalysis](./bitburner.goanalysis.md) > [clearAllPointHighlights](./bitburner.goanalysis.clearallpointhighlights.md) | ||
|
||
## GoAnalysis.clearAllPointHighlights() method | ||
|
||
Removes all highlights from the board. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
clearAllPointHighlights(): void; | ||
``` | ||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [GoAnalysis](./bitburner.goanalysis.md) > [clearPointHighlight](./bitburner.goanalysis.clearpointhighlight.md) | ||
|
||
## GoAnalysis.clearPointHighlight() method | ||
|
||
Removes the highlight color and text from the specified node. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
clearPointHighlight(x, y): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| x | (not declared) | the x coordinate to remove highlight from | | ||
| y | (not declared) | the y coordinate to remove highlight from | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [GoAnalysis](./bitburner.goanalysis.md) > [highlightPoint](./bitburner.goanalysis.highlightpoint.md) | ||
|
||
## GoAnalysis.highlightPoint() method | ||
|
||
Adds a colored circle indicator to the specified point. These indicators are removed once a move is played. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
highlightPoint(x, y, color = "", text = ""): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| x | (not declared) | the x coordinate to highlight | | ||
| y | (not declared) | the y coordinate to highlight | | ||
| color | (not declared) | _(Optional)_ optional: the color to use for the circle. Can be given an RGB string like "\#FFF000", or "none" to clear it, or one of these color names from the selected theme: "hack" (green), "hp" (red), "money" (yellow), "int" (blue), "cha" (purple) | | ||
| text | (not declared) | _(Optional)_ optional: text to add to the node (replaces the default A.1 or B5 seen on hover). Should be kept short to fit well. | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters