withTransform

inline fun Kanvas.withTransform(transform: Transform, actions: Kanvas.() -> Unit)

Invokes actions inside of a Kanvas.pushTransform/Kanvas.pop pair.