Contents

init(rect:)

Creates and returns a new Bézier path object initialized with a rectangular path.

Declaration

init(rect: NSRect)

Parameters

  • rect:

    The rectangle describing the path to create.

Return Value

A new path object with the rectangular path.

Discussion

The path is constructed by starting at the origin of aRect and adding line segments in a counterclockwise direction.

See Also

Related Documentation

Creating a Bézier Path