Instance Method

inverseRegion

Returns a new region that is the mathematical inverse of an existing region.

Declaration

- (instancetype)inverseRegion;

Return Value

A new region object whose contents include all points that are not in the current region.

See Also

Creating and Initializing Region Objects

+ infiniteRegion

Returns a region that defines a region that includes all points.

- initWithSize:

Initializes a new region with a rectangular area.

- initWithRadius:

Initializes a new region with a circular area.

- initWithPath:

Initializes a new region using a Core Graphics path.

- regionByDifferenceFromRegion:

Returns a new region created by subtracting the contents of another region from this region.

- regionByIntersectionWithRegion:

Returns a new region created by intersecting the contents of this region with another region.

- regionByUnionWithRegion:

Returns a new region created by combining the contents of this region with another region.