Contents

hueRotation(_:)

Applies a hue rotation effect to the view.

Declaration

func hueRotation(_ angle: Angle) -> some VisualEffect

Parameters

  • angle:

    The hue rotation angle to apply to the colors in the view.

Return Value

An effect that shifts all of the colors in the view.

Discussion

Use hue rotation effect to shift all of the colors in a view according to the angle you specify.

See Also

Adjusting Color