Function zng_wgt_filter::brightness

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

P Adjust the widget colors brightness.

Zero removes all brightness, one is the original brightness.

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