SVGFEBlendElement: 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 der Schnittstelle SVGFEBlendElement
beschreibt die vertikale Größe einer SVG-Filter-Primitiven als SVGAnimatedLength
.
Sie spiegelt das <feBlend>
-Element Attribut height
der Filter-Primitiven wider. Das Attribut ist entweder ein \<length>
oder ein \<percentage>
relativ zur Höhe der Filterregion. Der Standardwert ist 100%
. Der Eigenschaftswert ist eine Länge in Einheiten des Benutzerkoordinatensystems.
Das <feBlend>
SVG-Filterelement vermischt zwei Eingabebilder unter Verwendung von allgemein gebräuchlichen Bildbearbeitungs-Software-Blending-Modi
.
Wert
Ein SVGAnimatedLength
.
Beispiel
const feBlend = document.querySelector("feBlend");
const verticalSize = feBlend.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
SVGFEBlendElement.width
- CSS
<blend-mode>
Datentyp - CSS
mix-blend-mode
Eigenschaft