共用方式為


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無限範圍的 。

屬性

適用於