setRotationAngle(_:center:)
Sets the rotation angle at the provided origin.
Declaration
func setRotationAngle(_ rotationAngle: CGFloat, center centerPoint: NSPoint)Parameters
- rotationAngle:
The rotation angle to apply to the image.
- centerPoint:
The point that specifies the origin of the rotation angle.