Module mask_effect2d Copy item path CHANNEL_PROPERTY Sets the texture channel to use as the input for the mask: ENABLED_PROPERTY Whether to apply this effect. HEIGHT_PROPERTY Sets the height of the mask to use in a layout. This value overrides the height of the texture that you use as the mask. HORIZONTAL_ALIGNMENT_PROPERTY Sets the horizontal alignment of the mask effect: INVERT_PROPERTY Whether to invert the mask so that transparent areas become opaque and opaque areas become transparent. MASK_PROPERTY Sets the mask texture. The default is no texture. MaskEffect2D Use MaskEffect2D to apply a mask to 2D nodes. NodeEffect2D Use node effects to apply post-processing effects to 2D nodes. OFFSET_PROPERTY Sets the mask offset along the X and Y axes in pixels. Kanzi applies the mask offset after stretch, alignment, and scale. Resource Represents the base class for all resources.
This base class contains information related to the type of the resource and the
loading status of the resource data. The actual resource data is specific to the sub-classes. SCALE_PROPERTY Sets the factor by which to scale the mask. Kanzi applies the scale after stretch and alignment. SCREEN_SPACE_PROPERTY Whether to layout the mask relative to the screen instead of the node. STRENGTH_PROPERTY Sets the strength of the mask effect in the range from 0 to 1: STRETCH_PROPERTY Sets the stretch mode of the mask effect: VERTICAL_ALIGNMENT_PROPERTY Sets the vertical alignment of the mask effect: WIDTH_PROPERTY Sets the width of the mask to use in a layout. This value overrides the width of the texture that you use as the mask. Channel Defines the mask texture channels that you can use as the mask. HorizontalAlignment Defines the horizontal alignment modes. Stretch Defines the stretch modes. VerticalAlignment Defines the vertical alignment modes.