type property
Indicates the type of matrix operation.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
matrixOperationType = object.type |
Property values
Type: SVGAnimatedEnumeration
One of the following values (see values for details):
Remarks
The following are constants associated with SVGFEColorMatrixElement.
| Constant | Value | Description |
|---|---|---|
| SVG_FECOLORMATRIX_TYPE_UNKNOWN | 0 | The type is not one of the predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type. |
| SVG_FECOLORMATRIX_TYPE_MATRIX | 1 | Corresponds to value matrix. |
| SVG_FECOLORMATRIX_TYPE_SATURATE | 2 | Corresponds to value saturate. |
| SVG_FECOLORMATRIX_TYPE_HUEROTATE | 3 | Corresponds to value hueRotate. |
| SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA | 4 | Corresponds to value luminanceToAlpha. |
See also
Show:
