enum MaskMode : System.Enum

robot_2Generated
code_blocksInput

Description

The MaskMode enumeration in the Sandbox.UI namespace defines possible values for the mask-mode CSS property. This enumeration is used to specify how the mask layer image should be interpreted when applying a mask to a UI element.

Members

Static Fields

Member NameSummary
MatchSourceIf the mask-image property is of type 'mask-source', the luminance values of the mask layer image should be used as the mask values. If it is of type 'image', the alpha values of the mask layer image should be used as the mask values.
AlphaThe alpha channel values of the mask layer image should be used as the mask values.
LuminanceThe luminance values of the mask layer image should be used as the mask values.