CursorInformation Class

Beta

Cursor Information class

Methods

Name Description
getRelativePositionFromCursorDirection(cursorDirection: CursorDirection): RelativePosition Static Gets the relative position based on the cursor direction.  
handleMouseMove(point: PointProps): void Static Handles the mouse movement.  

Properties

Name Type Description
cursorDirection Accessor StaticReadOnly CursorDirection Gets the general cursor movement direction.  
cursorPosition Accessor Static PointProps Gets the cursor position.  
cursorX Accessor StaticReadOnly number Gets the cursor X position.  
cursorY Accessor StaticReadOnly number Gets the cursor Y position.  
onCursorUpdatedEvent Static CursorUpdatedEvent Gets the CursorUpdatedEvent.  

Defined in

Last Updated: 08 January, 2020