Paints the area contained within the provided rectangle, using the fill color in the current graphics state.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
A rectangle, in user space coordinates.
The current path is cleared as a side effect of calling this function.