translate

open fun translate(by: Point, block: Canvas.() -> Unit)

Translates the operations within block by the given x, y.

Parameters

by

this amount

block

being transformed