---
title: "setRotationAngle(_:center:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimageview/setrotationangle(_:center:)"
---

# setRotationAngle(_:center:)

Sets the rotation angle at the provided origin.

## Declaration

```swift
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.

## See Also

### Related Documentation

- [rotationAngle](quartz/ikimageview/rotationangle.md)

### Manipulating the Image in a View

- [setImageZoomFactor(_:center:)](quartz/ikimageview/setimagezoomfactor(_:center:).md)
- [zoomImageToFit(_:)](quartz/ikimageview/zoomimagetofit(_:).md)
- [zoomImageToActualSize(_:)](quartz/ikimageview/zoomimagetoactualsize(_:).md)
- [zoomImage(to:)](quartz/ikimageview/zoomimage(to:).md)
- [zoomIn(_:)](quartz/ikimageview/zoomin(_:).md)
- [zoomOut(_:)](quartz/ikimageview/zoomout(_:).md)
- [crop(_:)](quartz/ikimageview/crop(_:).md)
- [flipImageHorizontal(_:)](quartz/ikimageview/flipimagehorizontal(_:).md)
- [flipImageVertical(_:)](quartz/ikimageview/flipimagevertical(_:).md)
- [rotateImageLeft(_:)](quartz/ikimageview/rotateimageleft(_:).md)
- [rotateImageRight(_:)](quartz/ikimageview/rotateimageright(_:).md)
