zng::image::mask

Function mask_fit

source
pub fn mask_fit(child: impl UiNode, fit: impl IntoVar<ImageFit>) -> impl UiNode
Expand description

P Defines how the mask image fits the widget bounds in all mask_image inside the widget in descendants.

This property sets the MASK_FIT_VAR.