fillPath(_:in:)
Fills the area that the specified path encloses.
Declaration
func fillPath(_ path: CGPath, in context: CGContext)Parameters
- path:
The path to fill.
- context:
The graphics context in which to draw the path.
Discussion
You must set the current fill color before calling this method. Typically you do this by calling the applyFillProperties(to:atZoomScale:) method prior to drawing. If the fillColor property is currently nil, this method does nothing.