RenderFrame

Output of one native-renderer operation.

Properties

Link copied to clipboard

Union of committed and predicted layer bounds.

Link copied to clipboard

Stable output that can be retained in the document.

Link copied to clipboard

Speculative output that should be replaced by the next frame.

Functions

Link copied to clipboard
fun draw(canvas: Canvas, includePrediction: Boolean = true)

Draws committed output and, when requested, predicted output onto canvas.

fun draw(canvas: Canvas, transform: Matrix, includePrediction: Boolean = true)

Draws using an explicit document-to-view transform without mutating input points.