---
title: kCVImageBufferDisplayMaskRectangleKey
framework: corevideo
role: symbol
role_heading: Global Variable
path: corevideo/kcvimagebufferdisplaymaskrectanglekey
---

# kCVImageBufferDisplayMaskRectangleKey

Specifies the rectangular display area within the image.

## Declaration

```swift
let kCVImageBufferDisplayMaskRectangleKey: CFString
```

## Discussion

Discussion Specify the left, width, top, and height metrics relative to a reference raster width and height scaled to the image buffer dimensions. The value is a dictionary containing these keys for the raster rectangle: kCVImageBufferDisplayMaskRectangle_ReferenceRasterWidthKey kCVImageBufferDisplayMaskRectangle_ReferenceRasterHeightKey kCVImageBufferDisplayMaskRectangle_RectangleLeftKey kCVImageBufferDisplayMaskRectangle_RectangleWidthKey kCVImageBufferDisplayMaskRectangle_RectangleTopKey kCVImageBufferDisplayMaskRectangle_RectangleHeightKey

## See Also

### Constants

- [Image Buffer Attachment Keys](corevideo/image-buffer-attachment-keys.md)
- [Image Buffer Clean Aperture Keys](corevideo/image-buffer-clean-aperture-keys.md)
- [Image Buffer Pixel Aspect Ratio Keys](corevideo/image-buffer-pixel-aspect-ratio-keys.md)
- [Image Buffer Display Dimensions Keys](corevideo/image-buffer-display-dimensions-keys.md)
- [Image Buffer Field Detail Constants](corevideo/image-buffer-field-detail-constants.md)
- [Image Buffer YCbCr Matrix Constants](corevideo/image-buffer-ycbcr-matrix-constants.md)
- [Image Buffer Color Primaries Constants](corevideo/image-buffer-color-primaries-constants.md)
- [Image Buffer Transfer Function Constants](corevideo/image-buffer-transfer-function-constants.md)
- [Image Buffer Chroma Location Constants](corevideo/image-buffer-chroma-location-constants.md)
- [Image Buffer Chroma Subsampling Constants](corevideo/image-buffer-chroma-subsampling-constants.md)
- [Image Buffer Display Mask Rectangle Keys](corevideo/image-buffer-display-mask-rectangle-keys.md)
- [kCVImageBufferDisplayMaskRectangleStereoLeftKey](corevideo/kcvimagebufferdisplaymaskrectanglestereoleftkey.md)
- [kCVImageBufferDisplayMaskRectangleStereoRightKey](corevideo/kcvimagebufferdisplaymaskrectanglestereorightkey.md)
