PressInteraction.Press


An interaction representing a press event on a component.

Summary

Public constructors

Press(pressPosition: Offset)
Cmn

Public properties

Offset

the Offset describing where this press event occurred within the component.

Cmn

Public constructors

Press

Press(pressPosition: Offset)

Public properties

pressPosition

val pressPositionOffset

the Offset describing where this press event occurred within the component. The Offset can be outside the actual component bounds meaning the Offset can be negative or larger than the component bounds if the touch target is smaller than the ViewConfiguration.minimumTouchTargetSize.