Type Method 型メソッド

palette(_:)

Returns a multilevel shading instance constructed from an array of shading instances.

Declaration 宣言

static func palette(_ array: [GraphicsContext.Shading]) -> GraphicsContext.Shading

Return Value 戻り値

A shading instance composed from the given instances.

Parameters パラメータ

array

An array of shading instances. The array must contain at least one element.

See Also 参照

Composite Shading Types