IPointGeometryAccess
Interface for access to the "Point" geometry.
Constructor | Events | Methods
Constructor
IPointGeometryAccess()
events
Name |
Description |
Changed coordinates. Instance of the Event class. Names of fields that are available via the Event.get method:
|
Methods
Name |
Returns |
Description |
Number[]|null |
Returns coordinates of a point. |
|
Sets coordinates of a point. |
Events details
change
Changed coordinates. Instance of the Event class. Names of fields that are available via the Event.get method:
- oldCoordinates - Old coordinates
- newCoordinates - New coordinates.
Methods details
getCoordinates
{Number[]|null} getCoordinates()
Returns coordinates of a point.
setCoordinates
{IPointGeometryAccess} setCoordinates(coordinates)
Sets coordinates of a point.
Returns self-reference.
Parameters:
Parameter |
Default value |
Description |
— |
Type: Number[]|null Coordinates of a point. |
* Mandatory parameter/option.
Mandatory parameter/option.