onTouchStart

abstract fun onTouchStart(offset: Offset = Offset.Zero, paint: Paint = Paint())

Handles the start of a touch event. Initializes the paths and stores the first touch point.

Parameters

offset

The position of the touch start.

paint

The paint object used for drawing the tape.