Contents

translate(x:y:)

Mutates an affine transformation matrix to perform the specified translation.

Declaration

mutating func translate(x: CGFloat, y: CGFloat)

Parameters

  • x:

    The horizontal translation value.

  • y:

    The vertical translation value.

See Also

Accumulating Tranformations