Transform

fun Transform(    a: Float = 1.0f,     b: Float = 0.0f,     c: Float = 0.0f,     d: Float = 1.0f,     tx: Float = 0.0f,     ty: Float = 0.0f,     block: TransformScope.() -> Unit): Transform

Creates a transform which holds a 3x3 matrix for transforming coordinates.

Parameters

a

The horizontal scaling. A value of 1 results in no scaling

b

The vertical skewing

c

The horizontal skewing

d

The vertical scaling. A value of 1 results in no scaling

tx

The horizontal translation (moving)

ty

The vertical translation (moving)

block

The lambda callback to issue transform commands