Skip to main content

web_sys/features/
gen_SvgfeGaussianBlurElement.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "SvgElement",
9        extends = "Element",
10        extends = "Node",
11        extends = "EventTarget",
12        extends = "::js_sys::Object",
13        js_name = "SVGFEGaussianBlurElement",
14        typescript_type = "SVGFEGaussianBlurElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgfeGaussianBlurElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgfeGaussianBlurElement`*"]
22    pub type SvgfeGaussianBlurElement;
23    #[cfg(feature = "SvgAnimatedString")]
24    #[wasm_bindgen(method, getter, js_class = "SVGFEGaussianBlurElement", js_name = "in1")]
25    #[doc = "Getter for the `in1` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/in1)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*"]
30    pub fn in1(this: &SvgfeGaussianBlurElement) -> SvgAnimatedString;
31    #[cfg(feature = "SvgAnimatedNumber")]
32    #[wasm_bindgen(
33        method,
34        getter,
35        js_class = "SVGFEGaussianBlurElement",
36        js_name = "stdDeviationX"
37    )]
38    #[doc = "Getter for the `stdDeviationX` field of this object."]
39    #[doc = ""]
40    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationX)"]
41    #[doc = ""]
42    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*"]
43    pub fn std_deviation_x(this: &SvgfeGaussianBlurElement) -> SvgAnimatedNumber;
44    #[cfg(feature = "SvgAnimatedNumber")]
45    #[wasm_bindgen(
46        method,
47        getter,
48        js_class = "SVGFEGaussianBlurElement",
49        js_name = "stdDeviationY"
50    )]
51    #[doc = "Getter for the `stdDeviationY` field of this object."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationY)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeGaussianBlurElement`*"]
56    pub fn std_deviation_y(this: &SvgfeGaussianBlurElement) -> SvgAnimatedNumber;
57    #[cfg(feature = "SvgAnimatedLength")]
58    #[wasm_bindgen(method, getter, js_class = "SVGFEGaussianBlurElement", js_name = "x")]
59    #[doc = "Getter for the `x` field of this object."]
60    #[doc = ""]
61    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/x)"]
62    #[doc = ""]
63    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
64    pub fn x(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
65    #[cfg(feature = "SvgAnimatedLength")]
66    #[wasm_bindgen(method, getter, js_class = "SVGFEGaussianBlurElement", js_name = "y")]
67    #[doc = "Getter for the `y` field of this object."]
68    #[doc = ""]
69    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/y)"]
70    #[doc = ""]
71    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
72    pub fn y(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
73    #[cfg(feature = "SvgAnimatedLength")]
74    #[wasm_bindgen(
75        method,
76        getter,
77        js_class = "SVGFEGaussianBlurElement",
78        js_name = "width"
79    )]
80    #[doc = "Getter for the `width` field of this object."]
81    #[doc = ""]
82    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/width)"]
83    #[doc = ""]
84    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
85    pub fn width(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
86    #[cfg(feature = "SvgAnimatedLength")]
87    #[wasm_bindgen(
88        method,
89        getter,
90        js_class = "SVGFEGaussianBlurElement",
91        js_name = "height"
92    )]
93    #[doc = "Getter for the `height` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/height)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeGaussianBlurElement`*"]
98    pub fn height(this: &SvgfeGaussianBlurElement) -> SvgAnimatedLength;
99    #[cfg(feature = "SvgAnimatedString")]
100    #[wasm_bindgen(
101        method,
102        getter,
103        js_class = "SVGFEGaussianBlurElement",
104        js_name = "result"
105    )]
106    #[doc = "Getter for the `result` field of this object."]
107    #[doc = ""]
108    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/result)"]
109    #[doc = ""]
110    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeGaussianBlurElement`*"]
111    pub fn result(this: &SvgfeGaussianBlurElement) -> SvgAnimatedString;
112    #[wasm_bindgen(
113        method,
114        js_class = "SVGFEGaussianBlurElement",
115        js_name = "setStdDeviation"
116    )]
117    #[doc = "The `setStdDeviation()` method."]
118    #[doc = ""]
119    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement/setStdDeviation)"]
120    #[doc = ""]
121    #[doc = "*This API requires the following crate features to be activated: `SvgfeGaussianBlurElement`*"]
122    pub fn set_std_deviation(
123        this: &SvgfeGaussianBlurElement,
124        std_deviation_x: f32,
125        std_deviation_y: f32,
126    );
127}