CircleInheritance: Shape > Circle The Circle class is used to draw a circle on the map. See on the examples page Use shapes -> Add circle to map Summary
Circle
The Circle constructor. Parameters
getBounds
Returns the bounding box (Top Left, Bottom Right) position of the circle. ReturnsThe bounding box position of the circle. getBrushStyle
Returns the brush style of the circle. ReturnsThe brush style of the circle. See AlsogetCoordinate
Returns the center coordinate of the circle. ReturnsThe center coordinate of the circle. See AlsogetLineStyle
Returns the line style of the circle. ReturnsThe line style of the circle. See AlsoisPointInside
Return true if the point is in the circle, otherwise returns false. ReturnsTrue if the point is in the circle, otherwise returns false. Parameters
setBrushStyle
Sets a new brush style to the circle. Parameters
See AlsosetCoordinate
Sets the center coordinate of the circle. Returns
See AlsosetLineStyle
Sets a new line style to the circle. Parameters
See Also |
In order to add any shape on the map you should add the shape object to the map’s LayersManager object.
|
|
int getRadius() |
boolean isPointInside(LatLong latLong) |
|
Coordinate getCoordinate() |
Bounds getBounds() |
|
LineStyle getLineStyle() |
|
BrushStyle getBrushStyle() |