1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = DOMMatrixReadOnly , typescript_type = "DOMMatrixReadOnly")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `DomMatrixReadOnly` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
13 pub type DomMatrixReadOnly;
14 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = a)]
15 #[doc = "Getter for the `a` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/a)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
20 pub fn a(this: &DomMatrixReadOnly) -> f64;
21 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = b)]
22 #[doc = "Getter for the `b` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/b)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
27 pub fn b(this: &DomMatrixReadOnly) -> f64;
28 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = c)]
29 #[doc = "Getter for the `c` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/c)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
34 pub fn c(this: &DomMatrixReadOnly) -> f64;
35 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = d)]
36 #[doc = "Getter for the `d` field of this object."]
37 #[doc = ""]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/d)"]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
41 pub fn d(this: &DomMatrixReadOnly) -> f64;
42 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = e)]
43 #[doc = "Getter for the `e` field of this object."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/e)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
48 pub fn e(this: &DomMatrixReadOnly) -> f64;
49 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = f)]
50 #[doc = "Getter for the `f` field of this object."]
51 #[doc = ""]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/f)"]
53 #[doc = ""]
54 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
55 pub fn f(this: &DomMatrixReadOnly) -> f64;
56 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m11)]
57 #[doc = "Getter for the `m11` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m11)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
62 pub fn m11(this: &DomMatrixReadOnly) -> f64;
63 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m12)]
64 #[doc = "Getter for the `m12` field of this object."]
65 #[doc = ""]
66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m12)"]
67 #[doc = ""]
68 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
69 pub fn m12(this: &DomMatrixReadOnly) -> f64;
70 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m13)]
71 #[doc = "Getter for the `m13` field of this object."]
72 #[doc = ""]
73 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m13)"]
74 #[doc = ""]
75 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
76 pub fn m13(this: &DomMatrixReadOnly) -> f64;
77 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m14)]
78 #[doc = "Getter for the `m14` field of this object."]
79 #[doc = ""]
80 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m14)"]
81 #[doc = ""]
82 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
83 pub fn m14(this: &DomMatrixReadOnly) -> f64;
84 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m21)]
85 #[doc = "Getter for the `m21` field of this object."]
86 #[doc = ""]
87 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m21)"]
88 #[doc = ""]
89 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
90 pub fn m21(this: &DomMatrixReadOnly) -> f64;
91 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m22)]
92 #[doc = "Getter for the `m22` field of this object."]
93 #[doc = ""]
94 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m22)"]
95 #[doc = ""]
96 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
97 pub fn m22(this: &DomMatrixReadOnly) -> f64;
98 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m23)]
99 #[doc = "Getter for the `m23` field of this object."]
100 #[doc = ""]
101 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m23)"]
102 #[doc = ""]
103 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
104 pub fn m23(this: &DomMatrixReadOnly) -> f64;
105 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m24)]
106 #[doc = "Getter for the `m24` field of this object."]
107 #[doc = ""]
108 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m24)"]
109 #[doc = ""]
110 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
111 pub fn m24(this: &DomMatrixReadOnly) -> f64;
112 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m31)]
113 #[doc = "Getter for the `m31` field of this object."]
114 #[doc = ""]
115 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m31)"]
116 #[doc = ""]
117 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
118 pub fn m31(this: &DomMatrixReadOnly) -> f64;
119 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m32)]
120 #[doc = "Getter for the `m32` field of this object."]
121 #[doc = ""]
122 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m32)"]
123 #[doc = ""]
124 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
125 pub fn m32(this: &DomMatrixReadOnly) -> f64;
126 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m33)]
127 #[doc = "Getter for the `m33` field of this object."]
128 #[doc = ""]
129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m33)"]
130 #[doc = ""]
131 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
132 pub fn m33(this: &DomMatrixReadOnly) -> f64;
133 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m34)]
134 #[doc = "Getter for the `m34` field of this object."]
135 #[doc = ""]
136 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m34)"]
137 #[doc = ""]
138 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
139 pub fn m34(this: &DomMatrixReadOnly) -> f64;
140 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m41)]
141 #[doc = "Getter for the `m41` field of this object."]
142 #[doc = ""]
143 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m41)"]
144 #[doc = ""]
145 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
146 pub fn m41(this: &DomMatrixReadOnly) -> f64;
147 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m42)]
148 #[doc = "Getter for the `m42` field of this object."]
149 #[doc = ""]
150 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m42)"]
151 #[doc = ""]
152 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
153 pub fn m42(this: &DomMatrixReadOnly) -> f64;
154 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m43)]
155 #[doc = "Getter for the `m43` field of this object."]
156 #[doc = ""]
157 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m43)"]
158 #[doc = ""]
159 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
160 pub fn m43(this: &DomMatrixReadOnly) -> f64;
161 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = m44)]
162 #[doc = "Getter for the `m44` field of this object."]
163 #[doc = ""]
164 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/m44)"]
165 #[doc = ""]
166 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
167 pub fn m44(this: &DomMatrixReadOnly) -> f64;
168 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = is2D)]
169 #[doc = "Getter for the `is2D` field of this object."]
170 #[doc = ""]
171 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/is2D)"]
172 #[doc = ""]
173 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
174 pub fn is_2d(this: &DomMatrixReadOnly) -> bool;
175 # [wasm_bindgen (structural , method , getter , js_class = "DOMMatrixReadOnly" , js_name = isIdentity)]
176 #[doc = "Getter for the `isIdentity` field of this object."]
177 #[doc = ""]
178 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/isIdentity)"]
179 #[doc = ""]
180 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
181 pub fn is_identity(this: &DomMatrixReadOnly) -> bool;
182 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrixReadOnly")]
183 #[doc = "The `new DomMatrixReadOnly(..)` constructor, creating a new instance of `DomMatrixReadOnly`."]
184 #[doc = ""]
185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)"]
186 #[doc = ""]
187 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
188 pub fn new() -> Result<DomMatrixReadOnly, JsValue>;
189 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrixReadOnly")]
190 #[doc = "The `new DomMatrixReadOnly(..)` constructor, creating a new instance of `DomMatrixReadOnly`."]
191 #[doc = ""]
192 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)"]
193 #[doc = ""]
194 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
195 pub fn new_with_str(init: &str) -> Result<DomMatrixReadOnly, JsValue>;
196 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrixReadOnly")]
197 #[doc = "The `new DomMatrixReadOnly(..)` constructor, creating a new instance of `DomMatrixReadOnly`."]
198 #[doc = ""]
199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly)"]
200 #[doc = ""]
201 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
202 pub fn new_with_f64_sequence(
203 init: &::wasm_bindgen::JsValue,
204 ) -> Result<DomMatrixReadOnly, JsValue>;
205 #[cfg(feature = "DomMatrix")]
206 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = flipX)]
207 #[doc = "The `flipX()` method."]
208 #[doc = ""]
209 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipX)"]
210 #[doc = ""]
211 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
212 pub fn flip_x(this: &DomMatrixReadOnly) -> DomMatrix;
213 #[cfg(feature = "DomMatrix")]
214 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = flipY)]
215 #[doc = "The `flipY()` method."]
216 #[doc = ""]
217 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/flipY)"]
218 #[doc = ""]
219 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
220 pub fn flip_y(this: &DomMatrixReadOnly) -> DomMatrix;
221 #[cfg(feature = "DomMatrix")]
222 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = inverse)]
223 #[doc = "The `inverse()` method."]
224 #[doc = ""]
225 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/inverse)"]
226 #[doc = ""]
227 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
228 pub fn inverse(this: &DomMatrixReadOnly) -> DomMatrix;
229 #[cfg(feature = "DomMatrix")]
230 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = multiply)]
231 #[doc = "The `multiply()` method."]
232 #[doc = ""]
233 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/multiply)"]
234 #[doc = ""]
235 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
236 pub fn multiply(this: &DomMatrixReadOnly, other: &DomMatrix) -> DomMatrix;
237 #[cfg(feature = "DomMatrix")]
238 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotate)]
239 #[doc = "The `rotate()` method."]
240 #[doc = ""]
241 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)"]
242 #[doc = ""]
243 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
244 pub fn rotate(this: &DomMatrixReadOnly, angle: f64) -> DomMatrix;
245 #[cfg(feature = "DomMatrix")]
246 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotate)]
247 #[doc = "The `rotate()` method."]
248 #[doc = ""]
249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)"]
250 #[doc = ""]
251 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
252 pub fn rotate_with_origin_x(this: &DomMatrixReadOnly, angle: f64, origin_x: f64) -> DomMatrix;
253 #[cfg(feature = "DomMatrix")]
254 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotate)]
255 #[doc = "The `rotate()` method."]
256 #[doc = ""]
257 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotate)"]
258 #[doc = ""]
259 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
260 pub fn rotate_with_origin_x_and_origin_y(
261 this: &DomMatrixReadOnly,
262 angle: f64,
263 origin_x: f64,
264 origin_y: f64,
265 ) -> DomMatrix;
266 #[cfg(feature = "DomMatrix")]
267 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotateAxisAngle)]
268 #[doc = "The `rotateAxisAngle()` method."]
269 #[doc = ""]
270 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle)"]
271 #[doc = ""]
272 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
273 pub fn rotate_axis_angle(
274 this: &DomMatrixReadOnly,
275 x: f64,
276 y: f64,
277 z: f64,
278 angle: f64,
279 ) -> DomMatrix;
280 #[cfg(feature = "DomMatrix")]
281 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = rotateFromVector)]
282 #[doc = "The `rotateFromVector()` method."]
283 #[doc = ""]
284 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/rotateFromVector)"]
285 #[doc = ""]
286 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
287 pub fn rotate_from_vector(this: &DomMatrixReadOnly, x: f64, y: f64) -> DomMatrix;
288 #[cfg(feature = "DomMatrix")]
289 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale)]
290 #[doc = "The `scale()` method."]
291 #[doc = ""]
292 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)"]
293 #[doc = ""]
294 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
295 pub fn scale(this: &DomMatrixReadOnly, scale: f64) -> DomMatrix;
296 #[cfg(feature = "DomMatrix")]
297 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale)]
298 #[doc = "The `scale()` method."]
299 #[doc = ""]
300 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)"]
301 #[doc = ""]
302 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
303 pub fn scale_with_origin_x(this: &DomMatrixReadOnly, scale: f64, origin_x: f64) -> DomMatrix;
304 #[cfg(feature = "DomMatrix")]
305 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale)]
306 #[doc = "The `scale()` method."]
307 #[doc = ""]
308 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale)"]
309 #[doc = ""]
310 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
311 pub fn scale_with_origin_x_and_origin_y(
312 this: &DomMatrixReadOnly,
313 scale: f64,
314 origin_x: f64,
315 origin_y: f64,
316 ) -> DomMatrix;
317 #[cfg(feature = "DomMatrix")]
318 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
319 #[doc = "The `scale3d()` method."]
320 #[doc = ""]
321 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
322 #[doc = ""]
323 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
324 pub fn scale3d(this: &DomMatrixReadOnly, scale: f64) -> DomMatrix;
325 #[cfg(feature = "DomMatrix")]
326 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
327 #[doc = "The `scale3d()` method."]
328 #[doc = ""]
329 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
330 #[doc = ""]
331 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
332 pub fn scale3d_with_origin_x(this: &DomMatrixReadOnly, scale: f64, origin_x: f64) -> DomMatrix;
333 #[cfg(feature = "DomMatrix")]
334 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
335 #[doc = "The `scale3d()` method."]
336 #[doc = ""]
337 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
338 #[doc = ""]
339 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
340 pub fn scale3d_with_origin_x_and_origin_y(
341 this: &DomMatrixReadOnly,
342 scale: f64,
343 origin_x: f64,
344 origin_y: f64,
345 ) -> DomMatrix;
346 #[cfg(feature = "DomMatrix")]
347 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scale3d)]
348 #[doc = "The `scale3d()` method."]
349 #[doc = ""]
350 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scale3d)"]
351 #[doc = ""]
352 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
353 pub fn scale3d_with_origin_x_and_origin_y_and_origin_z(
354 this: &DomMatrixReadOnly,
355 scale: f64,
356 origin_x: f64,
357 origin_y: f64,
358 origin_z: f64,
359 ) -> DomMatrix;
360 #[cfg(feature = "DomMatrix")]
361 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
362 #[doc = "The `scaleNonUniform()` method."]
363 #[doc = ""]
364 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
365 #[doc = ""]
366 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
367 pub fn scale_non_uniform(this: &DomMatrixReadOnly, scale_x: f64) -> DomMatrix;
368 #[cfg(feature = "DomMatrix")]
369 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
370 #[doc = "The `scaleNonUniform()` method."]
371 #[doc = ""]
372 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
373 #[doc = ""]
374 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
375 pub fn scale_non_uniform_with_scale_y(
376 this: &DomMatrixReadOnly,
377 scale_x: f64,
378 scale_y: f64,
379 ) -> DomMatrix;
380 #[cfg(feature = "DomMatrix")]
381 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
382 #[doc = "The `scaleNonUniform()` method."]
383 #[doc = ""]
384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
385 #[doc = ""]
386 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
387 pub fn scale_non_uniform_with_scale_y_and_scale_z(
388 this: &DomMatrixReadOnly,
389 scale_x: f64,
390 scale_y: f64,
391 scale_z: f64,
392 ) -> DomMatrix;
393 #[cfg(feature = "DomMatrix")]
394 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
395 #[doc = "The `scaleNonUniform()` method."]
396 #[doc = ""]
397 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
398 #[doc = ""]
399 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
400 pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x(
401 this: &DomMatrixReadOnly,
402 scale_x: f64,
403 scale_y: f64,
404 scale_z: f64,
405 origin_x: f64,
406 ) -> DomMatrix;
407 #[cfg(feature = "DomMatrix")]
408 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
409 #[doc = "The `scaleNonUniform()` method."]
410 #[doc = ""]
411 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
412 #[doc = ""]
413 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
414 pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
415 this: &DomMatrixReadOnly,
416 scale_x: f64,
417 scale_y: f64,
418 scale_z: f64,
419 origin_x: f64,
420 origin_y: f64,
421 ) -> DomMatrix;
422 #[cfg(feature = "DomMatrix")]
423 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = scaleNonUniform)]
424 #[doc = "The `scaleNonUniform()` method."]
425 #[doc = ""]
426 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)"]
427 #[doc = ""]
428 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
429 pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
430 this: &DomMatrixReadOnly,
431 scale_x: f64,
432 scale_y: f64,
433 scale_z: f64,
434 origin_x: f64,
435 origin_y: f64,
436 origin_z: f64,
437 ) -> DomMatrix;
438 #[cfg(feature = "DomMatrix")]
439 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = skewX)]
440 #[doc = "The `skewX()` method."]
441 #[doc = ""]
442 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewX)"]
443 #[doc = ""]
444 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
445 pub fn skew_x(this: &DomMatrixReadOnly, sx: f64) -> DomMatrix;
446 #[cfg(feature = "DomMatrix")]
447 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = skewY)]
448 #[doc = "The `skewY()` method."]
449 #[doc = ""]
450 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/skewY)"]
451 #[doc = ""]
452 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
453 pub fn skew_y(this: &DomMatrixReadOnly, sy: f64) -> DomMatrix;
454 # [wasm_bindgen (catch , method , structural , js_class = "DOMMatrixReadOnly" , js_name = toFloat32Array)]
455 #[doc = "The `toFloat32Array()` method."]
456 #[doc = ""]
457 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)"]
458 #[doc = ""]
459 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
460 pub fn to_float32_array(this: &DomMatrixReadOnly) -> Result<Vec<f32>, JsValue>;
461 # [wasm_bindgen (catch , method , structural , js_class = "DOMMatrixReadOnly" , js_name = toFloat64Array)]
462 #[doc = "The `toFloat64Array()` method."]
463 #[doc = ""]
464 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)"]
465 #[doc = ""]
466 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
467 pub fn to_float64_array(this: &DomMatrixReadOnly) -> Result<Vec<f64>, JsValue>;
468 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = toJSON)]
469 #[doc = "The `toJSON()` method."]
470 #[doc = ""]
471 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/toJSON)"]
472 #[doc = ""]
473 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`*"]
474 pub fn to_json(this: &DomMatrixReadOnly) -> ::js_sys::Object;
475 #[cfg(feature = "DomPoint")]
476 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = transformPoint)]
477 #[doc = "The `transformPoint()` method."]
478 #[doc = ""]
479 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)"]
480 #[doc = ""]
481 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`*"]
482 pub fn transform_point(this: &DomMatrixReadOnly) -> DomPoint;
483 #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
484 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = transformPoint)]
485 #[doc = "The `transformPoint()` method."]
486 #[doc = ""]
487 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/transformPoint)"]
488 #[doc = ""]
489 #[doc = "*This API requires the following crate features to be activated: `DomMatrixReadOnly`, `DomPoint`, `DomPointInit`*"]
490 pub fn transform_point_with_point(this: &DomMatrixReadOnly, point: &DomPointInit) -> DomPoint;
491 #[cfg(feature = "DomMatrix")]
492 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = translate)]
493 #[doc = "The `translate()` method."]
494 #[doc = ""]
495 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)"]
496 #[doc = ""]
497 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
498 pub fn translate(this: &DomMatrixReadOnly, tx: f64, ty: f64) -> DomMatrix;
499 #[cfg(feature = "DomMatrix")]
500 # [wasm_bindgen (method , structural , js_class = "DOMMatrixReadOnly" , js_name = translate)]
501 #[doc = "The `translate()` method."]
502 #[doc = ""]
503 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrixReadOnly/translate)"]
504 #[doc = ""]
505 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`, `DomMatrixReadOnly`*"]
506 pub fn translate_with_tz(this: &DomMatrixReadOnly, tx: f64, ty: f64, tz: f64) -> DomMatrix;
507}