Share via


CIStretchCrop.CropAmount Property

Definition

Gets or sets a value that controls the ratio of stretching to cropping. 0 causes the image to be stretched so that no cropping is necessary. 1 causes the image to be cropped so that no stretching is necessary. Intermediate values combine these effects.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public float CropAmount { [Foundation.Export("cropAmount")] get; [Foundation.Export("setCropAmount:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("cropAmount")>]
[<set: Foundation.Export("setCropAmount:")>]
member this.CropAmount : single with get, set

Property Value

Implements

Attributes

Applies to