---
title: kCIAttributeTypeRectangle
framework: coreimage
role: symbol
role_heading: Global Variable
path: coreimage/kciattributetyperectangle
---

# kCIAttributeTypeRectangle

A Core Image vector that specifies the x and y values of the rectangle origin, and the width (w) and height (h) of the rectangle. The vector takes the form [x, y, w, h]. (A 4-element vector type.)

## Declaration

```swift
let kCIAttributeTypeRectangle: String
```

## See Also

### Constants

- [kCIAttributeTypePosition](coreimage/kciattributetypeposition.md)
- [kCIAttributeTypeOffset](coreimage/kciattributetypeoffset.md)
- [kCIAttributeTypePosition3](coreimage/kciattributetypeposition3.md)
