Function zng::image::mask::mask_image
source ยท pub fn mask_image(
child: impl UiNode,
source: impl IntoVar<ImageSource>,
) -> impl UiNode
Expand description
P
Sets an image mask.
The image alpha channel is used as a mask for the widget and descendants.
This property is configured by contextual values set by the properties in the mask
module.