static func color(Color) -> GraphicsContext .Shading
Returns a shading instance that fills with a color.
static func color(Color.RGBColorSpace , red: Double, green: Double, blue: Double, opacity: Double) -> GraphicsContext .Shading
Returns a shading instance that fills with a color in the given color space.
static func color(Color.RGBColorSpace , white: Double, opacity: Double) -> GraphicsContext .Shading
Returns a shading instance that fills with a monochrome color in the given color space.