fill(_:)
Paints the areas contained within the provided rectangles, using the fill color in the current graphics state.
Declaration
func fill(_ rects: [CGRect])Parameters
- rects:
An array of rectangles, in user space coordinates.
Discussion
The current path is cleared as a side effect of calling this function.