zng::image::mask

Function mask_mode

source
pub fn mask_mode(
    child: impl UiNode,
    mode: impl IntoVar<ImageMaskMode>,
) -> impl UiNode
Expand description

P Defines how the A8 image mask pixels are to be derived from a source mask image in all mask_image inside the widget in descendants.

This property sets the MASK_MODE_VAR.