Type Method 型メソッド

hueRotation(_:)

Returns a filter that applies a hue rotation adjustment.

Declaration 宣言

static func hueRotation(_ angle: Angle) -> GraphicsContext.Filter

Return Value 戻り値

A filter that applies a hue rotation adjustment.

Parameters パラメータ

angle

The amount by which to rotate the hue value of each pixel.

Discussion 議論

This filter is equivalent to the hue-rotate filter primitive defined by the Scalable Vector Graphics (SVG) specification.

See Also 参照

Manipulating Color