saturation(_:)
Adjusts the color saturation of the view.
Declaration
func saturation(_ amount: Double) -> some VisualEffect
Parameters
- amount:
The amount of saturation to apply to the view.
Return Value
An effect that adjusts the saturation of the view.
Discussion
Use color saturation to increase or decrease the intensity of colors in a view.