Function zng_wgt_filter::grayscale

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

P Grayscale tone the widget.

Zero is the original colors, one if the full grayscale.

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