transform

abstract fun transform(transform: AffineTransform, block: Canvas.() -> Unit)

Transforms the operations within block.

Parameters

transform

to use

block

being transformed


abstract fun transform(transform: AffineTransform, camera: Camera, block: Canvas.() -> Unit)

Applies a perspective transform to the operations within block.

Parameters

transform

to use

camera

that applies perspective

block

being transformed