Function zng_wgt_filter::contrast

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

P Adjust the widget colors contrast.

Zero removes all contrast, one is the original contrast.

This property is a shorthand way of setting filter to Filter::new_contrast using variable mapping.