Contents

prepend(_:)

Prepends the specified matrix to the receiver’s matrix.

Declaration

func prepend(_ transform: NSAffineTransform)
func prepend(_ transform: AffineTransform)

Parameters

  • transform:

    The matrix to prepend to the receiver.

Discussion

This method multiplies the matrix in transform by the receiver’s matrix and replaces the receiver’s matrix with the result. This type of operation is the same as applying the transformations in transform followed by the transformations in the receiver.

See Also

Accumulating Transformations