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.
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.
Member Name | Summary |
---|---|
MatchSource | If 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. |
Alpha | The alpha channel values of the mask layer image should be used as the mask values. |
Luminance | The luminance values of the mask layer image should be used as the mask values. |