onDrawIntoCanvas

abstract fun onDrawIntoCanvas(drawScope: DrawScope, canvas: Canvas, paint: Paint = Paint(), isMultiTouch: Boolean = false)

Draws the tape paths and image paths onto the canvas during the touch interaction. This method is called continuously during the touch event to render the tape and image paths.

Parameters

drawScope

The scope for drawing.

canvas

The canvas on which to draw.

paint

The paint object used for drawing the tape.

isMultiTouch

A boolean indicating whether the touch event is multi-touch.