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