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