CIImage.CreateByClamping(CGRect) 方法

定义

通过将此CIImage范围裁剪为 rect ,然后将边缘的像素扩展到无穷大,创建一个新的CIImage无限范围。

[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

参数

rect
CGRect

剪裁矩形。

返回

无限 CIImage 范围的 。

属性

适用于