drawPath(using:)
Draws the current path using the provided drawing mode.
Declaration
func drawPath(using mode: CGPathDrawingMode)Parameters
- mode:
A path drawing mode constant—Fill, Eofill, Stroke, Fillstroke, or Eofillstroke. For a discussion of these constants, see Cgpath.
Discussion
The current path is cleared as a side effect of calling this function.