Contents

color(_:)

Returns a shading instance that fills with a color.

Declaration

static func color(_ color: Color) -> GraphicsContext.Shading

Parameters

  • color:

    A Color instance that defines the color of the shading.

Return Value

A shading instance filled with a color.

See Also

Colors