Function zng_wgt_filter::backdrop_contrast
source ยท pub fn backdrop_contrast(
child: impl UiNode,
amount: impl IntoVar<Factor>,
) -> impl UiNode
Expand description
P
Adjust the color contrast of everything behind the widget.
Zero removes all contrast, one is the original contrast.
This property is a shorthand way of setting backdrop_filter
to Filter::new_contrast
using variable mapping.