PointerSpeedImpl

Implementation for PointerSpeed interface.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val oldPosition: Point

Functions

Link copied to clipboard
Gets the pointer's current position.
Link copied to clipboard
open fun getVariation(): Point
Gets the vector [current position - old position].
Link copied to clipboard
open fun setCurrentPosition(point: Point)
Sets the pointer's current position and, consequently, updates the old one.