Contents

init(angle:)

Creates a transformer that rotates an image by a specified angle.

Declaration

init(angle: Double)

Parameters

  • angle:

    The angle, in radians, by which to rotate the coordinate space of the specified context. Positive values rotate counterclockwise and negative values rotate clockwise.