Share via


CIImage.CreateByClamping(CGRect) Method

Definition

Creates a new CIImage of infinite extent by cropping this CIImage to the rect and then extending the pixels at the edges to infinity.

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

Parameters

rect
CGRect

The clipping rectangle.

Returns

A CIImage of infinite extent.

Attributes

Applies to