<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVVideoCompositionLayerInstruction/CropRectangleRamp",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So34AVVideoCompositionLayerInstructionC12AVFoundationE17CropRectangleRampV"
  },
  "title" : "AVVideoCompositionLayerInstruction.CropRectangleRamp"
}
-->

# AVVideoCompositionLayerInstruction.CropRectangleRamp

```
struct CropRectangleRamp
```

## Topics

### Creating a crop rectangle ramp

[`init(timeRange: CMTimeRange, start: CGRect, end: CGRect)`](/documentation/AVFoundation/AVVideoCompositionLayerInstruction/CropRectangleRamp/init(timeRange:start:end:))

### Inspecting the crop rectangle ramp

[`var end: CGRect`](/documentation/AVFoundation/AVVideoCompositionLayerInstruction/CropRectangleRamp/end)

[`var start: CGRect`](/documentation/AVFoundation/AVVideoCompositionLayerInstruction/CropRectangleRamp/start)

[`var timeRange: CMTimeRange`](/documentation/AVFoundation/AVVideoCompositionLayerInstruction/CropRectangleRamp/timeRange)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)