CIFilterShape.FromRect(CGRect) 方法

定义

创建一个新的 CIFilterShape,用于将筛选器操作限制为指定的矩形。

[Foundation.Export("shapeWithRect:")]
public static CoreImage.CIFilterShape FromRect (CoreGraphics.CGRect rect);
static member FromRect : CoreGraphics.CGRect -> CoreImage.CIFilterShape

参数

rect
CGRect

返回

属性

适用于