MaskMode Enum
Fields
| Name | Value | Description |
|---|---|---|
Alpha | 0 | The drawing is kept in proportion to the alpha of the mask, whatever its colors: opaque keeps, transparent removes. This is the default. |
Luminance | 1 | The drawing is kept in proportion to the luminance of the mask multiplied by its alpha: white keeps, black and transparent remove. This is the default of the masks of SVG. The luminance is the Rec. 709 luma of the stored sample values, the gray level a conversion to grayscale gives. |