hueRotation(_:)
Returns a filter that applies a hue rotation adjustment.
Declaration
static func hueRotation(_ angle: Angle) -> GraphicsContext.FilterParameters
- angle:
The amount by which to rotate the hue value of each pixel.
Return Value
A filter that applies a hue rotation adjustment.
Discussion
This filter is equivalent to the hue-rotate filter primitive defined by the Scalable Vector Graphics (SVG) specification.