共用方式為


CIImage.ImageByCroppingToRect(CGRect) 方法

定義

將這個 CIImage 裁剪為矩形 r ,以建立新的影像。

[Foundation.Export("imageByCroppingToRect:")]
public virtual CoreImage.CIImage ImageByCroppingToRect (CoreGraphics.CGRect r);
abstract member ImageByCroppingToRect : CoreGraphics.CGRect -> CoreImage.CIImage
override this.ImageByCroppingToRect : CoreGraphics.CGRect -> CoreImage.CIImage

參數

r
CGRect

傳回

屬性

適用於