zng::widget

Function foreground_gradient

source
pub fn foreground_gradient(
    child: impl UiNode,
    axis: impl IntoVar<LinearGradientAxis>,
    stops: impl IntoVar<GradientStops>,
) -> impl UiNode
Expand description

P Linear gradient overlay.

This property applies a node::linear_gradient as foreground.