Edit

Share via


AVMutableVideoCompositionLayerInstruction.SetCrop Method

Definition

Overloads

SetCrop(CGRect, CMTime)
SetCrop(CGRect, CGRect, CMTimeRange)

SetCrop(CGRect, CMTime)

[Foundation.Export("setCropRectangle:atTime:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetCrop (CoreGraphics.CGRect cropRectangle, CoreMedia.CMTime time);
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.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetCrop (CoreGraphics.CGRect startCropRectangle, CoreGraphics.CGRect endCropRectangle, CoreMedia.CMTimeRange timeRange);
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