Source set: Common
public class SwipeInfo(
public val start: Offset,
public val end: Offset,
@FloatRange(from = 0.0) public val endVelocity: Float,
)
Configuration for a single pointer in a multi-touch swipe with velocity.
Parameters
| start | The start position of the gesture, in the node's local coordinate system |
| end | The end position of the gesture, in the node's local coordinate system |
| endVelocity | The velocity of the gesture at the moment it ends in px/second. Must be positive. |