SVGFEDropShadowElement: 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 height
schreibgeschützte Eigenschaft des SVGFEDropShadowElement
Interface beschreibt die vertikale Größe einer SVG-Filterprimitive als ein SVGAnimatedLength
.
Sie spiegelt das height
Attribut der Filterprimitive wider. Das Attribut ist ein \<length>
oder ein \<percentage>
relativ zur Höhe des Filterbereichs. Der Standardwert ist 100%
. Der Eigenschaftswert ist eine Länge in Einheiten des Benutzerkoordinatensystems.
Wert
Ein SVGAnimatedLength
.
Beispiel
const feDropShadow = document.querySelector("feDropShadow");
const verticalSize = feDropShadow.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
SVGFEDropShadowElement.width
- CSS
drop-shadow()
Funktion - CSS
box-shadow
Eigenschaft - CSS
text-shadow
Eigenschaft - CSS
<blend-mode>
Datentyp - CSS
mix-blend-mode
Eigenschaft