-
-
Notifications
You must be signed in to change notification settings - Fork 85
Circle Marker
BillyGalbreath edited this page Sep 20, 2022
·
11 revisions
The circle marker is used to draw circles on the map.
-
center
- the location on the map (Point) -
radius
- radius of the circle (double) -
options
* - options for drawing the circle (Options)
Circle circle = new Circle(new Point(0, 0), 10.0D)
.setOptions(Options.builder()
.strokeColor(0xFF0000FF)
.fillColor(0x330000FF)
.tooltipContent("Sample text!")
.build()
);
Extended JSON:
[
"circ",
[
[
0, /* center X */
0 /* center Z */
],
10.0 /* radius */
],
[/*options*/]
]
Condensed JSON:
["circ",[[0,0],10],[/*options*/]]
Join the discord for help! https://granny.dev/discord