Function zng::widget::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
.