rotate

open fun rotate(by: Measure<Angle>, block: Canvas.() -> Unit)

Rotates the operations within block around 0,0 by the given angle.

Parameters

by

this angle

block

being transformed


open fun rotate(around: Point, by: Measure<Angle>, block: Canvas.() -> Unit)

Rotates the operations within block around the given point by the given angle.

Parameters

around

this point

by

this angle

block

being transformed