SVGFECompositeElement: 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
-Eigenschaft der SVGFECompositeElement
-Schnittstelle beschreibt die vertikale Größe eines SVG-Filter-Primitives als ein SVGAnimatedLength
.
Sie reflektiert das <feComposite>
-Element und dessen height
-Filter-Primitivattribut. Das <feComposite>
SVG-Filter-Primitiv kombiniert zwei Eingabebilder mittels einer Porter-Duff-Kompositionsoperation. Das Attribut ist entweder ein \<length>
oder ein \<percentage>
relativ zur Höhe des Filterbereichs. Der Standardwert ist 100%
. Der Eigenschaftswert ist eine Länge in Benutzereinheitensystemeinheiten.
Wert
Ein SVGAnimatedLength
.
Beispiel
const feComposite = document.querySelector("feComposite");
const verticalSize = feComposite.height;
console.log(verticalSize.baseVal.value); // the `height` value
Spezifikationen
Specification |
---|
Filter Effects Module Level 1 # dom-svgfilterprimitivestandardattributes-height |
Browser-Kompatibilität
BCD tables only load in the browser
Siehe auch
SVGFECompositeElement.width
- CSS
<blend-mode>
Datentyp - CSS
mix-blend-mode
Eigenschaft