CIImageAccumulator.FromRectangle 方法

定义

重载

FromRectangle(CGRect, CIFormat)

使用指定的格式从指定的矩形创建并返回一个新的图像累加器。

FromRectangle(CGRect, Int32)
已过时.
FromRectangle(CGRect, CIFormat, CGColorSpace)

使用指定的格式和颜色空间从指定的矩形创建并返回一个新的图像累加器。

FromRectangle(CGRect, CIFormat)

使用指定的格式从指定的矩形创建并返回一个新的图像累加器。

[Foundation.Export("imageAccumulatorWithExtent:format:")]
public static CoreImage.CIImageAccumulator FromRectangle (CoreGraphics.CGRect rect, CoreImage.CIFormat format);
static member FromRectangle : CoreGraphics.CGRect * CoreImage.CIFormat -> CoreImage.CIImageAccumulator

参数

rect
CGRect

要从中创建累加器的矩形。

format
CIFormat

累加器的像素格式。

返回

属性

适用于

FromRectangle(CGRect, Int32)

注意

Use the overload acceping a 'CIFormat' enum instead of an 'int'.

[System.Obsolete("Use the overload acceping a 'CIFormat' enum instead of an 'int'.", false)]
public static CoreImage.CIImageAccumulator FromRectangle (CoreGraphics.CGRect rect, int ciImageFormat);
static member FromRectangle : CoreGraphics.CGRect * int -> CoreImage.CIImageAccumulator

参数

rect
CGRect
ciImageFormat
Int32

返回

属性

适用于

FromRectangle(CGRect, CIFormat, CGColorSpace)

使用指定的格式和颜色空间从指定的矩形创建并返回一个新的图像累加器。

[Foundation.Export("imageAccumulatorWithExtent:format:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreImage.CIImageAccumulator FromRectangle (CoreGraphics.CGRect extent, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace);
static member FromRectangle : CoreGraphics.CGRect * CoreImage.CIFormat * CoreGraphics.CGColorSpace -> CoreImage.CIImageAccumulator

参数

extent
CGRect
format
CIFormat

累加器的像素格式。

colorSpace
CGColorSpace

累加器的颜色空间。

返回

属性

适用于