ICircleGeometry
Extends ICircleGeometryAccess, IGeometry.
Interface for the "Circle" geometry.
Constructor | Fields | Events | Methods
Constructor
ICircleGeometry()
Fields
Name |
Type |
Description |
Event manager. Inherited from IEventEmitter. |
||
Options manager. Inherited from ICustomizable. |
Events
Name |
Description |
Changed coordinates. Instance of the Event class. Names of fields that are available via the Event.get method:
Inherited from ICircleGeometryAccess. |
|
Map reference changed. Instance of the Event class. Names of fields that are available via the Event.get method:
Inherited from IGeometry. |
|
Change to the object options. Inherited from ICustomizable. |
|
The pixel geometry changed. Instance of the Event class. Names of fields that are available via the Event.get method:
Inherited from IGeometry. |
Methods
Name |
Returns |
Description |
Boolean |
Checks whether the passed point is located inside the circle. Inherited from ICircleGeometryAccess. |
|
freeze() |
Switches the object to "frozen" mode. Inherited from IFreezable. |
|
Number[][]|null |
Returns coordinates of the two opposite corners of the area that surrounds the geometry. The first item in the array is the southwest corner of the area; the second item is the northeast corner. Inherited from IGeometry. |
|
Object |
Searches for a point on the circle closest to the anchorPosition. Inherited from ICircleGeometryAccess. |
|
Number[]|null |
Returns coordinates of the center of the circle. Inherited from ICircleGeometryAccess. |
|
getMap() |
Map|null |
Returns the current map. Inherited from IGeometry. |
Returns the pixel geometry corresponding to the given geometry, its options, and the map state. Inherited from IGeometry. |
||
Number |
Returns radius of the circle. Inherited from ICircleGeometryAccess. |
|
getType() |
String |
Returns the "Circle" string. |
isFrozen() |
Boolean |
Returns true if the object is in "frozen" mode, otherwise false. Inherited from IFreezable. |
Sets the coordinates of the center of the circle. Inherited from ICircleGeometryAccess. |
||
Sets the map. Inherited from IGeometry. |
||
Sets the radius of the circle. Inherited from ICircleGeometryAccess. |
||
unfreeze() |
Switches the object to active mode. Inherited from IFreezable. |
Methods details
getType
{String} getType()
Returns the "Circle" string.