func stroke(Path, with: GraphicsContext .Shading, lineWidth : CGFloat)
Draws a path into the context with a specified line width.
func stroke(Path, with: GraphicsContext .Shading, style: StrokeStyle )
Draws a path into the context with a specified stroke style.
func resolve(GraphicsContext .Shading) -> GraphicsContext .Shading
Returns a version of a shading resolved with the current values of the graphics context’s environment.
struct Shading
A color or pattern that you can use to outline or fill a path.
struct GradientOptions
Options that affect the rendering of color gradients.