Skip to content
PHP Ecosystem
Explore

MaskType

API reference › HTML SVG › Values › MaskType

enumUIAwesome\Html\Svg\Values\MaskType
Backed bystring
Sourcesrc/Values/MaskType.php

Represents literal string values for the SVG mask-type attribute.

Provides the keyword values used by the mask-type attribute.

See also: Mask::maskType().

CaseValueDescription
ALPHA'alpha'alpha - Uses the alpha channel of the mask content.
LUMINANCE'luminance'luminance - Uses the luminance of the mask content.