Instance Method

initWithRadius:

Initializes a new region with a circular area.

Declaration

- (instancetype)initWithRadius:(float)radius;

Parameters

radius

The radius of the region in points.

Return Value

A newly initialized region. The region is circular and centered on the origin.

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.

- initWithPath:

Initializes a new region using a Core Graphics path.

- inverseRegion

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

- 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.