Contents

init(size:)

Initializes a new region with a rectangular area.

Declaration

init(size: CGSize)

Parameters

  • size:

    The size of the rectangle in points.

Return Value

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

See Also

Creating and Initializing Region Objects