Contents

init(m11:m12:m21:m22:tX:tY:)

Creates an affine transformation.

Declaration

init(m11: CGFloat, m12: CGFloat, m21: CGFloat, m22: CGFloat, tX: CGFloat, tY: CGFloat)

Discussion

Create an affine tranform by directly specifying the key values of the transform matrix.

[ m11 m12  0 ]
[ m21 m22  0 ]
[  tX  tY  1 ]

See Also

Creating Transforms