---
title: cgRectValue
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/civector/cgrectvalue
---

# cgRectValue

Returns the values in the vector as a CGRect structure.

## Declaration

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

## Return Value

Return Value  Reading this property creates a CGRect structure whose origin is the X, Y, Z and W values from the vector.

## See Also

### Getting Values From a Vector

- [value(at:)](coreimage/civector/value(at:).md)
- [count](coreimage/civector/count.md)
- [x](coreimage/civector/x.md)
- [y](coreimage/civector/y.md)
- [z](coreimage/civector/z.md)
- [w](coreimage/civector/w.md)
- [stringRepresentation](coreimage/civector/stringrepresentation.md)
- [cgAffineTransformValue](coreimage/civector/cgaffinetransformvalue.md)
- [cgPointValue](coreimage/civector/cgpointvalue.md)
