color(_:)
Returns a shading instance that fills with a color.
Declaration
static func color(_ color: Color) -> GraphicsContext.ShadingParameters
- color:
A Color instance that defines the color of the shading.
Return Value
A shading instance filled with a color.