---
title: cgRectValue
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsvalue/cgrectvalue
---

# cgRectValue

Returns the CoreGraphics rectangle structure representation of the value.

## Declaration

```swift
var cgRectValue: CGRect { get }
```

## Return Value

Return Value The CoreGraphics rectangle structure representation of the value.

## See Also

### Related Documentation

- [CGRect](corefoundation/cgrect.md)

### Working with CoreGraphics Geometry Values

- [init(CGPoint:)](foundation/nsvalue/init(cgpoint:).md)
- [init(CGVector:)](foundation/nsvalue/init(cgvector:).md)
- [init(CGSize:)](foundation/nsvalue/init(cgsize:).md)
- [init(CGRect:)](foundation/nsvalue/init(cgrect:).md)
- [init(CGAffineTransform:)](foundation/nsvalue/init(cgaffinetransform:).md)
- [cgPointValue](foundation/nsvalue/cgpointvalue.md)
- [cgVectorValue](foundation/nsvalue/cgvectorvalue.md)
- [cgSizeValue](foundation/nsvalue/cgsizevalue.md)
- [cgAffineTransformValue](foundation/nsvalue/cgaffinetransformvalue.md)
