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