TransformScope

Interface

Common
@JvmDefaultWithCompatibility
interface TransformScope

Scope used for suspending transformation operations

Functions

fun transformBy(
        zoomChange: Float = 1f,
        panChange: Offset = Offset.Zero,
        rotationChange: Float = 0f,
    )

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

Parameters

zoomChangescale factor multiplier change for zoom
panChangepanning offset change, in Offset pixels
rotationChangechange of the rotation in degrees