SVGFEGaussianBlurElement: result property
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.
Thuộc tính chỉ đọc result của giao diện SVGFEGaussianBlurElement mô tả tên được gán cho một phần tử lọc SVG dưới dạng SVGAnimatedString.
Nó phản ánh thuộc tính result của phần tử <feGaussianBlur>, phần tử này làm mờ ảnh đầu vào. Giá trị thuộc tính là một <custom-ident>. Nếu được cung cấp, đồ họa kết quả từ quá trình xử lý phần tử lọc này có thể được tham chiếu bởi thuộc tính in trên phần tử lọc tiếp theo trong cùng phần tử <filter>.
Nếu không có thuộc tính result được định nghĩa, result.baseVal và result.animVal của bộ lọc là các chuỗi rỗng, và đầu ra của bộ lọc <feGaussianBlur> chỉ có thể được tái sử dụng làm đầu vào ngầm cho phần tử lọc tiếp theo nếu phần tử đó không cung cấp giá trị nào cho thuộc tính in của nó.
Giá trị
Một SVGAnimatedString.
Ví dụ
const feGaussianBlurElement = document.querySelector("feGaussianBlur");
const filterName = feGaussianBlurElement.result;
console.log(filterName.baseVal); // the filter's assigned name
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| Filter Effects Module Level 1> # dom-svgfilterprimitivestandardattributes-result> |
Tương thích trình duyệt
Xem thêm
SVGFEGaussianBlurElement.in1<custom-ident>data type- SVG filter tutorial
- CSS
<blend-mode>data type - CSS
blur()function - CSS filter effects module- CSS
mix-blend-modeproperty