Contents

brightness(_:)

Brightens the view by the specified amount.

Declaration

func brightness(_ amount: Double) -> some VisualEffect

Parameters

  • amount:

    A value between 0 (no effect) and 1 (full white brightening) that represents the intensity of the brightness effect.

Return Value

An effect that brightens the view by the specified amount.

See Also

Adjusting Color