Initializer

init()

Creates an affine transformation matrix with identity values.

Declaration

init()

See Also

Creating Transforms

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: