type property

Indicates whether the filter primitive should perform a noise or turbulence function.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
matrixOperationType = object.type

 

Property values

Type: SVGAnimatedEnumeration

One of the following values:

ValueCondition
fractalNoise
fractalNoise

Indicates that the filter primitive should perform a noise function.

turbulence
turbulence

Indicates that the filter primitive should perform a turbulence function.

 

Remarks

SVGFETurbulenceElement uses the type value to determine whether the filter primitive should perform a noise or turbulence function. The default is turbulence (turbulence is fractal-based and is considered smoother in appearance).

The following are constants associated with SVGFETurbulenceElement.

ConstantValueDescription
SVG_TURBULENCE_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_TURBULENCE_TYPE_FRACTALNOISE 1Corresponds to value fractalNoise.
SVG_TURBULENCE_TYPE_TURBULENCE 2Corresponds to value turbulence.
SVG_STITCHTYPE_UNKNOWN 0The 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_STITCHTYPE_STITCH 1Corresponds to value stitch.
SVG_STITCHTYPE_NOSTITCH 2Corresponds to value noStitch.

 

See also

SVGFETurbulenceElement

 

 

Show: