Edit

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.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreImage.CIImage CreateByClamping (CoreGraphics.CGRect rect);
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