web_sys/features/
gen_SvgfeDropShadowElement.rs1#![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 = "SVGFEDropShadowElement",
14 typescript_type = "SVGFEDropShadowElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgfeDropShadowElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgfeDropShadowElement`*"]
22 pub type SvgfeDropShadowElement;
23 #[cfg(feature = "SvgAnimatedString")]
24 #[wasm_bindgen(method, getter, js_class = "SVGFEDropShadowElement", 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/SVGFEDropShadowElement/in1)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*"]
30 pub fn in1(this: &SvgfeDropShadowElement) -> SvgAnimatedString;
31 #[cfg(feature = "SvgAnimatedNumber")]
32 #[wasm_bindgen(method, getter, js_class = "SVGFEDropShadowElement", js_name = "dx")]
33 #[doc = "Getter for the `dx` field of this object."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dx)"]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
38 pub fn dx(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
39 #[cfg(feature = "SvgAnimatedNumber")]
40 #[wasm_bindgen(method, getter, js_class = "SVGFEDropShadowElement", js_name = "dy")]
41 #[doc = "Getter for the `dy` field of this object."]
42 #[doc = ""]
43 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/dy)"]
44 #[doc = ""]
45 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
46 pub fn dy(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
47 #[cfg(feature = "SvgAnimatedNumber")]
48 #[wasm_bindgen(
49 method,
50 getter,
51 js_class = "SVGFEDropShadowElement",
52 js_name = "stdDeviationX"
53 )]
54 #[doc = "Getter for the `stdDeviationX` field of this object."]
55 #[doc = ""]
56 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationX)"]
57 #[doc = ""]
58 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
59 pub fn std_deviation_x(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
60 #[cfg(feature = "SvgAnimatedNumber")]
61 #[wasm_bindgen(
62 method,
63 getter,
64 js_class = "SVGFEDropShadowElement",
65 js_name = "stdDeviationY"
66 )]
67 #[doc = "Getter for the `stdDeviationY` field of this object."]
68 #[doc = ""]
69 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/stdDeviationY)"]
70 #[doc = ""]
71 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDropShadowElement`*"]
72 pub fn std_deviation_y(this: &SvgfeDropShadowElement) -> SvgAnimatedNumber;
73 #[cfg(feature = "SvgAnimatedLength")]
74 #[wasm_bindgen(method, getter, js_class = "SVGFEDropShadowElement", js_name = "x")]
75 #[doc = "Getter for the `x` field of this object."]
76 #[doc = ""]
77 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/x)"]
78 #[doc = ""]
79 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
80 pub fn x(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
81 #[cfg(feature = "SvgAnimatedLength")]
82 #[wasm_bindgen(method, getter, js_class = "SVGFEDropShadowElement", js_name = "y")]
83 #[doc = "Getter for the `y` field of this object."]
84 #[doc = ""]
85 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/y)"]
86 #[doc = ""]
87 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
88 pub fn y(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
89 #[cfg(feature = "SvgAnimatedLength")]
90 #[wasm_bindgen(method, getter, js_class = "SVGFEDropShadowElement", js_name = "width")]
91 #[doc = "Getter for the `width` field of this object."]
92 #[doc = ""]
93 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/width)"]
94 #[doc = ""]
95 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
96 pub fn width(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
97 #[cfg(feature = "SvgAnimatedLength")]
98 #[wasm_bindgen(
99 method,
100 getter,
101 js_class = "SVGFEDropShadowElement",
102 js_name = "height"
103 )]
104 #[doc = "Getter for the `height` field of this object."]
105 #[doc = ""]
106 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/height)"]
107 #[doc = ""]
108 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeDropShadowElement`*"]
109 pub fn height(this: &SvgfeDropShadowElement) -> SvgAnimatedLength;
110 #[cfg(feature = "SvgAnimatedString")]
111 #[wasm_bindgen(
112 method,
113 getter,
114 js_class = "SVGFEDropShadowElement",
115 js_name = "result"
116 )]
117 #[doc = "Getter for the `result` field of this object."]
118 #[doc = ""]
119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/result)"]
120 #[doc = ""]
121 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeDropShadowElement`*"]
122 pub fn result(this: &SvgfeDropShadowElement) -> SvgAnimatedString;
123 #[wasm_bindgen(
124 method,
125 js_class = "SVGFEDropShadowElement",
126 js_name = "setStdDeviation"
127 )]
128 #[doc = "The `setStdDeviation()` method."]
129 #[doc = ""]
130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement/setStdDeviation)"]
131 #[doc = ""]
132 #[doc = "*This API requires the following crate features to be activated: `SvgfeDropShadowElement`*"]
133 pub fn set_std_deviation(
134 this: &SvgfeDropShadowElement,
135 std_deviation_x: f32,
136 std_deviation_y: f32,
137 );
138}