Paints a rectangular path.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A rectangle, specified in user space coordinates.
The line width and stroke color of the context’s graphics state are used to paint the path. The current path is cleared as a side effect of calling this function.
Paints the area within the current path, using the nonzero winding number rule.
Paints the area contained within the provided rectangle, using the fill color in the current graphics state.
Paints the areas contained within the provided rectangles, using the fill color in the current graphics state.
Paints the area of the ellipse that fits inside the provided rectangle, using the fill color in the current graphics state.