Fills the area enclosed by the specified path.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.2+
The path to fill.
The graphics context in which to draw the path.
You must set the current fill color before calling this method. Typically you do this by calling the
apply method prior to drawing. If the
fill property is currently
nil, this method does nothing.