<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/frameCenterRotation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(py)frameCenterRotation"
  },
  "title" : "frameCenterRotation"
}
-->

# frameCenterRotation

The rotation angle of the view around the center of its layer.

```
var frameCenterRotation: CGFloat { get set }
```

## Discussion

This property contains the angle of rotation of the view’s frame around its center. If you changed the underlying layer’s <doc://com.apple.documentation/documentation/QuartzCore/CALayer/anchorPoint> property, the result of setting this property is undefined.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)