Class

CIFilterShape

A description of the bounding shape of a filter and the domain of definition for a filter operation.

Declaration

@interface CIFilterShape : NSObject

Overview

You use CIFilterShape objects in conjunction with Core Image classes, such as CIFilter, CIKernel, and CISampler, to create custom filters.

Topics

Creating a Filter Shape

+ shapeWithRect:

Creates a filter shape object and initializes it with a rectangle.

Initializing a Filter Shape

- initWithRect:

Initializes a filter shape object with a rectangle.

Inspecting a Filter Shape

extent

The extent of the filter shape.

Modifying a Filter Shape

- insetByX:Y:

Modifies a filter shape object so that it is inset by the specified x and y values.

- intersectWith:

Creates a filter shape object that represents the intersection of the current filter shape and the specified filter shape object.

- intersectWithRect:

Creates a filter shape that represents the intersection of the current filter shape and a rectangle.

- transformBy:interior:

Creates a filter shape that results from applying a transform to the current filter shape.

- unionWith:

Creates a filter shape that results from the union of the current filter shape and another filter shape object.

- unionWithRect:

Creates a filter shape that results from the union of the current filter shape and a rectangle.

Relationships

Inherits From

Conforms To

See Also

Image and Kernel Definition Parameters

CIFormat

Pixel data formats for image input, output, and processing.