web_sys/features/
gen_SvgfeDropShadowElement.rs

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