enum MaskMode : System.Enum

book_4_sparkGenerated
code_blocksInput

Description

The MaskMode enumeration provides possible values for the mask-mode CSS property in the Sandbox.UI namespace. This enum 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.