Contents

concatenate(_:)

Appends the given transform to the context’s existing transform.

Declaration

mutating func concatenate(_ matrix: CGAffineTransform)

Parameters

  • matrix:

    A transform to append to the existing transform.

Discussion

Calling this method is equivalent to updating the context’s transform directly using the matrix parameter:

transform = matrix.concatenating(transform)

See Also

Applying transforms