zng::widget

Function background_gradient

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

P Linear gradient background.

This property applies a node::linear_gradient as background.