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

Beispiel

js
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 GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
height

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

Siehe auch