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.
Mutates an affine transformation matrix to perform the specified translation.
mutating func translate(x: CGFloat, y: CGFloat)The horizontal translation value.
The vertical translation value.