Function zng_wgt_filter::drop_shadow

source ยท
pub fn drop_shadow(
    child: impl UiNode,
    offset: impl IntoVar<Point>,
    blur_radius: impl IntoVar<Length>,
    color: impl IntoVar<Rgba>,
) -> impl UiNode
Expand description

P Drop-shadow effect for the widget.

The shadow is pixel accurate.

This property is a shorthand way of setting filter to Filter::new_drop_shadow using variable merging.