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