SVGFEDropShadowElement: height property
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
Thuộc tính chỉ đọc height của giao diện SVGFEDropShadowElement mô tả kích thước dọc của một bộ lọc SVG dưới dạng SVGAnimatedLength.
Nó phản ánh thuộc tính bộ lọc height. Thuộc tính là <length> hoặc <percentage> tương đối so với chiều cao của vùng bộ lọc. Giá trị mặc định là 100%. Giá trị thuộc tính là độ dài tính theo đơn vị hệ tọa độ người dùng.
Giá trị
Một SVGAnimatedLength.
Ví dụ
js
const feDropShadow = document.querySelector("feDropShadow");
const verticalSize = feDropShadow.height;
console.log(verticalSize.baseVal.value); // the `height` value
Thông số kỹ thuật
| Specification |
|---|
| Filter Effects Module Level 1> # dom-svgfilterprimitivestandardattributes-height> |
Tương thích trình duyệt
Xem thêm
SVGFEDropShadowElement.width- CSS
drop-shadow()function - CSS
box-shadowproperty - CSS
text-shadowproperty - CSS
<blend-mode>data type - CSS
mix-blend-modeproperty