beginRecording

fun beginRecording(bounds: Rect, bbh: BBHFactory? = null): Canvas

Returns the canvas that records the drawing commands.

Return

the canvas.

Parameters

bounds

the cull rect used when recording this picture. Any drawing the falls outside of this rect is undefined, and may be drawn or it may not.

bbh

optional acceleration structure