SVGFEDisplacementMapElement: height-Eigenschaft
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Die schreibgeschützte Eigenschaft height
der SVGFEDisplacementMapElement
-Schnittstelle beschreibt die vertikale Größe einer SVG-Filterprimitive als SVGAnimatedLength
.
Sie spiegelt das <feDisplacementMap>
-Element und dessen Filterprimitive-Attribut height
wider. Das Attribut ist eine \<length>
oder ein \<percentage>
relativ zur Höhe der Filterregion. Der Standardwert ist 100%
. Der Eigenschaftswert ist eine Länge in Einheiten des Benutzerskoordinatensystems.
Wert
Ein SVGAnimatedLength
.
Beispiel
const feDisplacementMap = document.querySelector("feDisplacementMap");
const verticalSize = feDisplacementMap.height;
console.log(verticalSize.baseVal.value); // the `height` value
Spezifikationen
Specification |
---|
Filter Effects Module Level 1 # dom-svgfilterprimitivestandardattributes-height |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
height |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
Siehe auch
SVGFEDisplacementMapElement.width
SVGFEImageElement
API und<feImage>
-ElementSVGFETurbulenceElement
API und<feTurbulence>
-Element- CSS
<blend-mode>
Datentyp - CSS
mix-blend-mode
Eigenschaft