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

# isFlipped

A Boolean value that indicates the graphics context’s flipped state.

```
var isFlipped: Bool { get }
```

## Discussion

The state is determined by sending `flipped` to the receiver’s view that has focus. If no view has focus, returns <doc://com.apple.documentation/documentation/Swift/false> unless the receiver is instantiated using [`init(cgContext:flipped:)`](/documentation/AppKit/NSGraphicsContext/init(cgContext:flipped:)-9cbad) specifying <doc://com.apple.documentation/documentation/Swift/true> as the `flipped` parameter.

## See Also

[`+  graphicsContextWithCGContext:flipped:`](/documentation/AppKit/NSGraphicsContext/init(cgContext:flipped:)-9cbad)

Creates a new graphics context from the specified Core Graphics context and the initial flipped state.



---

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)