---
title: "CGRectCreateDictionaryRepresentation(_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgrectcreatedictionaryrepresentation(_:)"
---

# CGRectCreateDictionaryRepresentation(_:)

Returns a dictionary representation of the provided rectangle.

## Declaration

```swift
func CGRectCreateDictionaryRepresentation(_: CGRect) -> CFDictionary
```

## Return Value

Return Value The dictionary representation of the rectangle.

## See Also

### Creating a Dictionary Representation from a Geometric Primitive

- [CGPointCreateDictionaryRepresentation(_:)](coregraphics/cgpointcreatedictionaryrepresentation(_:).md)
- [CGSizeCreateDictionaryRepresentation(_:)](coregraphics/cgsizecreatedictionaryrepresentation(_:).md)
