func stroke(Path, with: GraphicsContext .Shading, style: StrokeStyle )
Draws a path into the context with a specified stroke style.
func fill(Path, with: GraphicsContext .Shading, style: FillStyle )
Draws a path into the context and fills the outlined region.
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.