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

# isRotatedFromBase

A Boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds.

```
var isRotatedFromBase: Bool { get }
```

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Swift/true> if the view or any of its ancestors has had its [`frameRotation`](/documentation/AppKit/NSView/frameRotation) or [`boundsRotation`](/documentation/AppKit/NSView/boundsRotation) properties modified at any time. The value is still <doc://com.apple.documentation/documentation/Swift/true> if the rotation factor is changed to a nonzero value and then back to 0.

Use this information to optimize drawing and coordinate calculation. Do not use it to reflect the exact state of the view’s coordinate system.

## See Also

[`frameRotation`](/documentation/AppKit/NSView/frameRotation)

The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system.

[`boundsRotation`](/documentation/AppKit/NSView/boundsRotation)

The angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle.



---

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)