pointerExit

fun pointerExit(stateMachineHandle: StateMachineHandle, fit: Fit, surfaceWidth: Float, surfaceHeight: Float, pointerID: Int, pointerX: Float, pointerY: Float)

Notify the state machine that the pointer (typically a user's touch) has exited the surface. This is used to interact with the state machine, triggering pointer events.

The additional parameters are required for calculating the pointer position in artboard space.

Parameters

stateMachineHandle

The handle of the state machine to notify.

fit

The fit mode of the artboard.

surfaceWidth

The width of the surface the artboard is drawn to.

surfaceHeight

The height of the surface the artboard is drawn to.

pointerX

The X coordinate of the pointer in surface space.

pointerY

The Y coordinate of the pointer in surface space.

Throws

If the CommandQueue has been released.