type property

Indicates the type of matrix operation.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
matrixOperationType = object.type

 

Property values

Type: SVGAnimatedEnumeration

One of the following values (see values for details):

matrix (matrix)
saturate (saturate)
hueRotate (hueRotate)
luminanceToAlpha (luminanceToAlpha)

Remarks

The following are constants associated with SVGFEColorMatrixElement.

ConstantValueDescription
SVG_FECOLORMATRIX_TYPE_UNKNOWN0The 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_MATRIX1Corresponds to value matrix.
SVG_FECOLORMATRIX_TYPE_SATURATE2Corresponds to value saturate.
SVG_FECOLORMATRIX_TYPE_HUEROTATE3Corresponds to value hueRotate.
SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA4Corresponds to value luminanceToAlpha.

 

See also

SVGFEColorMatrixElement
values

 

 

Show: