SVG
The SVGFETurbulenceElement interface corresponds to the feTurbulence element.
Static properties
SVG_TURBULENCE_TYPE_UNKNOWN(0)- : The type is not one of 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 the value
fractalNoise.
- : Corresponds to the value
SVG_TURBULENCE_TYPE_TURBULENCE(2)- : Corresponds to the value
turbulence.
- : Corresponds to the value
SVG_STITCHTYPE_UNKNOWN(0)- : The type is not one of 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 the value
stitch.
- : Corresponds to the value
SVG_STITCHTYPE_NOSTITCH(2)- : Corresponds to the value
noStitch.
- : Corresponds to the value
Instance properties
This interface also inherits properties from its parent interface, SVGElement.
- SVGFETurbulenceElement.baseFrequencyX
- : An SVGAnimatedNumber corresponding to the X component of the baseFrequency attribute of the given element.
- SVGFETurbulenceElement.baseFrequencyY
- : An SVGAnimatedNumber corresponding to the Y component of the baseFrequency attribute of the given element.
- SVGFETurbulenceElement.height
- : An SVGAnimatedLength corresponding to the height attribute of the given element.
- SVGFETurbulenceElement.numOctaves
- : An SVGAnimatedInteger corresponding to the numOctaves attribute of the given element.
- SVGFETurbulenceElement.result
- : An SVGAnimatedString corresponding to the result attribute of the given element.
- SVGFETurbulenceElement.seed
- : An SVGAnimatedNumber corresponding to the seed attribute of the given element.
- SVGFETurbulenceElement.stitchTiles
- : An SVGAnimatedEnumeration corresponding to the stitchTiles attribute of the given element. It takes one of the
SVG_STITCHTYPE_*constants defined on this interface.
- : An SVGAnimatedEnumeration corresponding to the stitchTiles attribute of the given element. It takes one of the
- SVGFETurbulenceElement.type
- : An SVGAnimatedEnumeration corresponding to the type attribute of the given element. It takes one of the
SVG_TURBULENCE_TYPE_*constants defined on this interface.
- : An SVGAnimatedEnumeration corresponding to the type attribute of the given element. It takes one of the
- SVGFETurbulenceElement.width
- : An SVGAnimatedLength corresponding to the width attribute of the given element.
- SVGFETurbulenceElement.x
- : An SVGAnimatedLength corresponding to the x attribute of the given element.
- SVGFETurbulenceElement.y
- : An SVGAnimatedLength corresponding to the y attribute of the given element.
Instance methods
This interface does not provide any specific methods, but implements those of its parent, SVGElement.
Specifications
Browser compatibility
See also
- feTurbulence
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
