maxcountryman_web_sys/features/
gen_SvgfeDropShadowElement.rs

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