Initializer

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)

See Also

Creating Transforms

init()

Creates an affine transformation matrix with identity values.

init(rotationByDegrees: CGFloat)

Creates an affine transformation matrix from a rotation value (angle in degrees). The matrix takes the following form:

init(rotationByRadians: CGFloat)

Creates an affine transformation matrix from rotation value (angle in radians). The matrix takes the following form:

init(scale: CGFloat)

Creates an affine transformation matrix from scaling a single value. The matrix takes the following form:

init(scaleByX: CGFloat, byY: CGFloat)

Creates an affine transformation matrix from scaling values. The matrix takes the following form:

init(translationByX: CGFloat, byY: CGFloat)

Creates an affine transformation matrix from translation values. The matrix takes the following form: