Function zng_wgt_filter::backdrop_brightness

source ยท
pub fn backdrop_brightness(
    child: impl UiNode,
    amount: impl IntoVar<Factor>,
) -> impl UiNode
Expand description

P Adjust color brightness of everything behind the widget.

Zero removes all brightness, one is the original brightness.

This property is a shorthand way of setting backdrop_filter to Filter::new_brightness using variable mapping.