toggle menu
alchemist
35.0.2
jvm
switch theme
search in API
alchemist-ui-tooling
/
it.unibo.alchemist.boundary.ui.api
/
PointerSpeed
Pointer
Speed
interface
PointerSpeed
(
source
)
Base type for any pointing device: it provides services to analyze the pointer's movement.
Inheritors
PointerSpeedImpl
Members
Functions
get
Current
Position
Link copied to clipboard
abstract
fun
getCurrentPosition
(
)
:
Point
Gets the pointer's current position.
get
Old
Position
Link copied to clipboard
abstract
fun
getOldPosition
(
)
:
Point
Gets the pointer's old position.
get
Variation
Link copied to clipboard
abstract
fun
getVariation
(
)
:
Point
Gets the vector [current position - old position].
set
Current
Position
Link copied to clipboard
abstract
fun
setCurrentPosition
(
point
:
Point
)
Sets the pointer's current position and, consequently, updates the old one.