Methods
getCurrentPosition() → {Point}
Get the current position.
Returns:
The position.
- Type:
- Point
setCurrentPosition(position, silentopt) → {boolean}
Set the current position.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
position | Point | The position. | |
silent | boolean | <optional> | Flag to fire event or not. |
Returns:
True if possible and in bounds.
- Type:
- boolean