<!--
{
  "documentType" : "article",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/vector-quantity-attributes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Vector Quantity Attributes"
}
-->

# Vector Quantity Attributes

Vector data types.

## Topics

### Constants

[`let kCIAttributeTypePosition: String`](/documentation/CoreImage/kCIAttributeTypePosition)

A two-dimensional location in the working coordinate space. (A 2-element vector type.)

[`let kCIAttributeTypeOffset: String`](/documentation/CoreImage/kCIAttributeTypeOffset)

An offset. (A 2-element vector type.)

[`let kCIAttributeTypePosition3: String`](/documentation/CoreImage/kCIAttributeTypePosition3)

A three-dimensional location in the working coordinate space. (A 3-element vector type.)

[`let kCIAttributeTypeRectangle: String`](/documentation/CoreImage/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.)



---

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)