Function zng_wgt_filter::saturate

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

P Adjust the widget colors saturation.

Zero fully desaturates, one is the original saturation.

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