Share via


AVMutableVideoCompositionLayerInstruction.SetCrop Method

Definition

Overloads

SetCrop(CGRect, CMTime)

[Foundation.Export("setCropRectangle:atTime:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetCrop(CoreGraphics.CGRect cropRectangle, CoreMedia.CMTime time);
[<Foundation.Export("setCropRectangle:atTime:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetCrop : CoreGraphics.CGRect * CoreMedia.CMTime -> unit
override this.SetCrop : CoreGraphics.CGRect * CoreMedia.CMTime -> unit

Parameters

cropRectangle
CGRect
time
CMTime
Attributes

Applies to

SetCrop(CGRect, CGRect, CMTimeRange)

[Foundation.Export("setCropRectangleRampFromStartCropRectangle:toEndCropRectangle:timeRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetCrop(CoreGraphics.CGRect startCropRectangle, CoreGraphics.CGRect endCropRectangle, CoreMedia.CMTimeRange timeRange);
[<Foundation.Export("setCropRectangleRampFromStartCropRectangle:toEndCropRectangle:timeRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetCrop : CoreGraphics.CGRect * CoreGraphics.CGRect * CoreMedia.CMTimeRange -> unit
override this.SetCrop : CoreGraphics.CGRect * CoreGraphics.CGRect * CoreMedia.CMTimeRange -> unit

Parameters

startCropRectangle
CGRect
endCropRectangle
CGRect
timeRange
CMTimeRange
Attributes

Applies to