<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/kCGWindowBounds",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@kCGWindowBounds"
  },
  "title" : "kCGWindowBounds"
}
-->

# kCGWindowBounds

```
let kCGWindowBounds: CFString
```

## Discussion

The value for this key is a <doc://com.apple.documentation/documentation/CoreFoundation/CFDictionary> type that must be decoded to a <doc://com.apple.documentation/documentation/CoreFoundation/CGRect> type using the [`CGRectMakeWithDictionaryRepresentation(_:_:)`](/documentation/CoreGraphics/CGRectMakeWithDictionaryRepresentation(_:_:)) function. The coordinates of the rectangle are specified in screen space, where the origin is in the upper-left corner of the main display.

---

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)