Share via


type property

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

This property is read-only.

 

Syntax

HRESULT get_type(
  [out] SVGAnimatedEnumeration **matrixOperationType
);

Property values

Type: SVGAnimatedEnumeration

One of the following values:

Value Condition
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 ISVGFETurbulenceElement::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.

Constant Value Description
SVG_TURBULENCE_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_TURBULENCE_TYPE_FRACTALNOISE 1 Corresponds to value fractalNoise.
SVG_TURBULENCE_TYPE_TURBULENCE 2 Corresponds to value turbulence.
SVG_STITCHTYPE_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_STITCHTYPE_STITCH 1 Corresponds to value stitch.
SVG_STITCHTYPE_NOSTITCH 2 Corresponds to value noStitch.