SVGFEBlendElement: height 屬性
SVGFEBlendElement 介面的只讀屬性 height 以 的形式描述了 SVG 濾鏡圖元的垂直尺寸。SVGAnimatedLength
它反映了 <feBlend> 元素的 height 濾鏡圖元屬性。該屬性是相對於濾鏡區域高度的 <length> 或 <percentage>。預設值為 100%。屬性值是以使用者座標系單位表示的長度。
<feBlend> SVG 濾鏡使用常用的影像軟體 混合模式 將兩個輸入影像混合在一起。
值
一個 SVGAnimatedLength 物件。
示例
js
const feBlend = document.querySelector("feBlend");
const verticalSize = feBlend.height;
console.log(verticalSize.baseVal.value); // the `height` value
規範
| 規範 |
|---|
| 濾鏡效果模組第 1 級 # dom-svgfilterprimitivestandardattributes-height |
瀏覽器相容性
載入中…
另見
SVGFEBlendElement.width- CSS
<blend-mode>資料型別 - CSS
mix-blend-mode屬性