MaskMode Enum

What a mask keeps of the drawing it masks.

public enum MaskMode

Remarks

Fields

NameValueDescription
Alpha0The drawing is kept in proportion to the alpha of the mask, whatever its colors: opaque keeps, transparent removes. This is the default.
Luminance1The 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.