monks/mask_type
The mask-type CSS property applies to the SVG {{svgElement(“mask”)}} element. It defines whether to use the luminance (brightness) or alpha (transparency) content of the mask. This property may be overridden by the {{cssxref(“mask-mode”)}} property. The mask-type property has no effect on image or gradient masks.
Values
pub const alpha: #(String, String)
- : Indicates that the alpha (transparency) values of the
<mask>should be used.
pub const luminance: #(String, String)
- : Indicates that the luminance (brightness) values of the
<mask>should be used.
pub const revert_layer: #(String, String)