Share via


CIImage.ImageByCroppingToRect(CGRect) Method

Definition

Creates a new image by cropping this CIImage to the rectangle r.

[Foundation.Export("imageByCroppingToRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreImage.CIImage ImageByCroppingToRect(CoreGraphics.CGRect r);
[<Foundation.Export("imageByCroppingToRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ImageByCroppingToRect : CoreGraphics.CGRect -> CoreImage.CIImage
override this.ImageByCroppingToRect : CoreGraphics.CGRect -> CoreImage.CIImage

Parameters

r
CGRect

Returns

Attributes

Applies to