Appends a rectangular path to the receiver’s path.
- macOS 10.0+
The rectangle describing the path to create.
Before adding the rectangle, this method moves the current point to the origin of the rectangle, which implicitly closes the current subpath (if any). The path is constructed by starting at the origin of
a and adding line segments in a counterclockwise direction. The final segment is added using a