<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "QuickTime File Format",
  "identifier" : "/documentation/quicktime-file-format/Movie_media_sample/kMovieMediaRectangleAtom",
  "metadataVersion" : "0.1.0",
  "role" : "Data field",
  "symbol" : {
    "kind" : "Data field",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Movie_media_sample_kMovieMediaRectangleAtom"
  },
  "title" : "kMovieMediaRectangleAtom"
}
-->

# kMovieMediaRectangleAtom

Four atoms that define a rectangle.

## Overview

Not all atoms must be present: top and left must both appear together, width and height must both appear together. The dimensions contained in this rectangle are used in place of the track box when applying the contents of the spatial adjustment atom. If the top and left are not specified, the top and left of the containing track’s box are used. If the width and height are not specified, the width and height of the containing track’s box are used. Each atom contains a `UInt32`.

- `kMovieMediaTop`: If present, the top of the rectangle
- `kMovieMediaLeft`: If present, the left boundary of the rectangle
- `kMovieMediaWidth`: If present, width of rectangle
- `kMovieMediaHeight`: If present, height of rectangle

---

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)