CIImageAccumulator.FromRectangle Method

Definition

Overloads

FromRectangle(CGRect, CIFormat)

Creates and returns a new image accumulator from the specified rectangle and using the specified format.

FromRectangle(CGRect, Int32)
FromRectangle(CGRect, CIFormat, CGColorSpace)

Creates and returns a new image accumulator from the specified rectangle and using the specified format and color space.

FromRectangle(CGRect, CIFormat)

Creates and returns a new image accumulator from the specified rectangle and using the specified format.

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

Parameters

rect
CGRect

The rectangle from which to create the accumulator.

format
CIFormat

The pixel format for the accumulator.

Returns

Attributes

FromRectangle(CGRect, Int32)

Warning

This API is now obsolete.

[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

Parameters

rect
CGRect
ciImageFormat
Int32

Returns

Attributes

FromRectangle(CGRect, CIFormat, CGColorSpace)

Creates and returns a new image accumulator from the specified rectangle and using the specified format and color space.

[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

Parameters

extent
CGRect
format
CIFormat

The pixel format for the accumulator.

colorSpace
CGColorSpace

The color space for the accumulator.

Returns

Attributes

Applies to