MoveDistancesObject

Class that holds initial, previous and current X and Y on-screen coordinates for active pointers.

Constructors

Link copied to clipboard
open fun MoveDistancesObject(initialX: Float, initialY: Float)

Functions

Link copied to clipboard
open fun addNewPosition(x: Float, y: Float)
Add a new position of this pointer and recalculate distances.
Link copied to clipboard
open fun getCurrentX(): Float
Get current X coordinate of this pointer.
Link copied to clipboard
open fun getCurrentY(): Float
Get current Y coordinate of this pointer.
Link copied to clipboard
open fun getPreviousX(): Float
Get previous X coordinate of this pointer.
Link copied to clipboard
open fun getPreviousY(): Float
Get previous Y coordinate of this pointer.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard