Type Method 型メソッド

color(_:)

Returns a shading instance that fills with a color.

Declaration 宣言

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

Return Value 戻り値

A shading instance filled with a color.

Parameters パラメータ

color

A Color instance that defines the color of the shading.

See Also 参照

Colors