TransformScope


Scope used for suspending transformation operations

Summary

Public functions

Unit
transformBy(zoomChange: Float, panChange: Offset, rotationChange: Float)

Attempts to transform by zoomChange in relative multiplied value, by panChange in pixels and by rotationChange in degrees.

Cmn

Public functions

transformBy

fun transformBy(
    zoomChange: Float = 1.0f,
    panChange: Offset = Offset.Zero,
    rotationChange: Float = 0.0f
): Unit

Attempts to transform by zoomChange in relative multiplied value, by panChange in pixels and by rotationChange in degrees.

Parameters
zoomChange: Float = 1.0f

scale factor multiplier change for zoom

panChange: Offset = Offset.Zero

panning offset change, in Offset pixels

rotationChange: Float = 0.0f

change of the rotation in degrees