Instance Method

unionWithRect:

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

Declaration

- (CIFilterShape *)unionWithRect:(CGRect)r;

Parameters

rect

A rectangle. Core Image uses the rectangle specified by integer parts of the width and height.

See Also

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software