playback

fun playback(canvas: Canvas?, abort: () -> Boolean? = null): Picture

Replays the drawing commands on the specified canvas. In the case that the commands are recorded, each command in the Picture is sent separately to canvas.

To add a single command to draw Picture to recording canvas, call Canvas.drawPicture instead.

Return

this

Parameters

canvas

receiver of drawing commands

See also