Contents

scale(x:y:)

Mutates an affine transformation matrix to apply scaling in each of the x and y dimensions.

Declaration

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

Parameters

  • x:

    The horizontal scale factor.

  • y:

    The vertical scale factor.

See Also

Accumulating Tranformations