web_sys/features/
gen_SvgfeConvolveMatrixElement.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 = "SVGFEConvolveMatrixElement",
14 typescript_type = "SVGFEConvolveMatrixElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgfeConvolveMatrixElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
22 pub type SvgfeConvolveMatrixElement;
23 #[cfg(feature = "SvgAnimatedString")]
24 #[wasm_bindgen(
25 method,
26 getter,
27 js_class = "SVGFEConvolveMatrixElement",
28 js_name = "in1"
29 )]
30 #[doc = "Getter for the `in1` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/in1)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*"]
35 pub fn in1(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedString;
36 #[cfg(feature = "SvgAnimatedInteger")]
37 #[wasm_bindgen(
38 method,
39 getter,
40 js_class = "SVGFEConvolveMatrixElement",
41 js_name = "orderX"
42 )]
43 #[doc = "Getter for the `orderX` field of this object."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderX)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
48 pub fn order_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
49 #[cfg(feature = "SvgAnimatedInteger")]
50 #[wasm_bindgen(
51 method,
52 getter,
53 js_class = "SVGFEConvolveMatrixElement",
54 js_name = "orderY"
55 )]
56 #[doc = "Getter for the `orderY` field of this object."]
57 #[doc = ""]
58 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderY)"]
59 #[doc = ""]
60 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
61 pub fn order_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
62 #[cfg(feature = "SvgAnimatedNumberList")]
63 #[wasm_bindgen(
64 method,
65 getter,
66 js_class = "SVGFEConvolveMatrixElement",
67 js_name = "kernelMatrix"
68 )]
69 #[doc = "Getter for the `kernelMatrix` field of this object."]
70 #[doc = ""]
71 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelMatrix)"]
72 #[doc = ""]
73 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeConvolveMatrixElement`*"]
74 pub fn kernel_matrix(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumberList;
75 #[cfg(feature = "SvgAnimatedNumber")]
76 #[wasm_bindgen(
77 method,
78 getter,
79 js_class = "SVGFEConvolveMatrixElement",
80 js_name = "divisor"
81 )]
82 #[doc = "Getter for the `divisor` field of this object."]
83 #[doc = ""]
84 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/divisor)"]
85 #[doc = ""]
86 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
87 pub fn divisor(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
88 #[cfg(feature = "SvgAnimatedNumber")]
89 #[wasm_bindgen(
90 method,
91 getter,
92 js_class = "SVGFEConvolveMatrixElement",
93 js_name = "bias"
94 )]
95 #[doc = "Getter for the `bias` field of this object."]
96 #[doc = ""]
97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/bias)"]
98 #[doc = ""]
99 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
100 pub fn bias(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
101 #[cfg(feature = "SvgAnimatedInteger")]
102 #[wasm_bindgen(
103 method,
104 getter,
105 js_class = "SVGFEConvolveMatrixElement",
106 js_name = "targetX"
107 )]
108 #[doc = "Getter for the `targetX` field of this object."]
109 #[doc = ""]
110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetX)"]
111 #[doc = ""]
112 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
113 pub fn target_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
114 #[cfg(feature = "SvgAnimatedInteger")]
115 #[wasm_bindgen(
116 method,
117 getter,
118 js_class = "SVGFEConvolveMatrixElement",
119 js_name = "targetY"
120 )]
121 #[doc = "Getter for the `targetY` field of this object."]
122 #[doc = ""]
123 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetY)"]
124 #[doc = ""]
125 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
126 pub fn target_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
127 #[cfg(feature = "SvgAnimatedEnumeration")]
128 #[wasm_bindgen(
129 method,
130 getter,
131 js_class = "SVGFEConvolveMatrixElement",
132 js_name = "edgeMode"
133 )]
134 #[doc = "Getter for the `edgeMode` field of this object."]
135 #[doc = ""]
136 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/edgeMode)"]
137 #[doc = ""]
138 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeConvolveMatrixElement`*"]
139 pub fn edge_mode(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedEnumeration;
140 #[cfg(feature = "SvgAnimatedNumber")]
141 #[wasm_bindgen(
142 method,
143 getter,
144 js_class = "SVGFEConvolveMatrixElement",
145 js_name = "kernelUnitLengthX"
146 )]
147 #[doc = "Getter for the `kernelUnitLengthX` field of this object."]
148 #[doc = ""]
149 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthX)"]
150 #[doc = ""]
151 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
152 pub fn kernel_unit_length_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
153 #[cfg(feature = "SvgAnimatedNumber")]
154 #[wasm_bindgen(
155 method,
156 getter,
157 js_class = "SVGFEConvolveMatrixElement",
158 js_name = "kernelUnitLengthY"
159 )]
160 #[doc = "Getter for the `kernelUnitLengthY` field of this object."]
161 #[doc = ""]
162 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthY)"]
163 #[doc = ""]
164 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
165 pub fn kernel_unit_length_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
166 #[cfg(feature = "SvgAnimatedBoolean")]
167 #[wasm_bindgen(
168 method,
169 getter,
170 js_class = "SVGFEConvolveMatrixElement",
171 js_name = "preserveAlpha"
172 )]
173 #[doc = "Getter for the `preserveAlpha` field of this object."]
174 #[doc = ""]
175 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/preserveAlpha)"]
176 #[doc = ""]
177 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedBoolean`, `SvgfeConvolveMatrixElement`*"]
178 pub fn preserve_alpha(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedBoolean;
179 #[cfg(feature = "SvgAnimatedLength")]
180 #[wasm_bindgen(method, getter, js_class = "SVGFEConvolveMatrixElement", js_name = "x")]
181 #[doc = "Getter for the `x` field of this object."]
182 #[doc = ""]
183 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/x)"]
184 #[doc = ""]
185 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
186 pub fn x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
187 #[cfg(feature = "SvgAnimatedLength")]
188 #[wasm_bindgen(method, getter, js_class = "SVGFEConvolveMatrixElement", js_name = "y")]
189 #[doc = "Getter for the `y` field of this object."]
190 #[doc = ""]
191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/y)"]
192 #[doc = ""]
193 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
194 pub fn y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
195 #[cfg(feature = "SvgAnimatedLength")]
196 #[wasm_bindgen(
197 method,
198 getter,
199 js_class = "SVGFEConvolveMatrixElement",
200 js_name = "width"
201 )]
202 #[doc = "Getter for the `width` field of this object."]
203 #[doc = ""]
204 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/width)"]
205 #[doc = ""]
206 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
207 pub fn width(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
208 #[cfg(feature = "SvgAnimatedLength")]
209 #[wasm_bindgen(
210 method,
211 getter,
212 js_class = "SVGFEConvolveMatrixElement",
213 js_name = "height"
214 )]
215 #[doc = "Getter for the `height` field of this object."]
216 #[doc = ""]
217 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/height)"]
218 #[doc = ""]
219 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
220 pub fn height(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
221 #[cfg(feature = "SvgAnimatedString")]
222 #[wasm_bindgen(
223 method,
224 getter,
225 js_class = "SVGFEConvolveMatrixElement",
226 js_name = "result"
227 )]
228 #[doc = "Getter for the `result` field of this object."]
229 #[doc = ""]
230 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/result)"]
231 #[doc = ""]
232 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*"]
233 pub fn result(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedString;
234}
235impl SvgfeConvolveMatrixElement {
236 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN` const."]
237 #[doc = ""]
238 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
239 pub const SVG_EDGEMODE_UNKNOWN: u16 = 0i64 as u16;
240 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE` const."]
241 #[doc = ""]
242 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
243 pub const SVG_EDGEMODE_DUPLICATE: u16 = 1u64 as u16;
244 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP` const."]
245 #[doc = ""]
246 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
247 pub const SVG_EDGEMODE_WRAP: u16 = 2u64 as u16;
248 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE` const."]
249 #[doc = ""]
250 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
251 pub const SVG_EDGEMODE_NONE: u16 = 3u64 as u16;
252}