1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = DomMatrix , extends = DomMatrixReadOnly , extends = :: js_sys :: Object , js_name = WebKitCSSMatrix , typescript_type = "WebKitCSSMatrix")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `WebKitCssMatrix` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
14 pub type WebKitCssMatrix;
15 #[wasm_bindgen(catch, constructor, js_class = "WebKitCSSMatrix")]
16 #[doc = "The `new WebKitCssMatrix(..)` constructor, creating a new instance of `WebKitCssMatrix`."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
21 pub fn new() -> Result<WebKitCssMatrix, JsValue>;
22 #[wasm_bindgen(catch, constructor, js_class = "WebKitCSSMatrix")]
23 #[doc = "The `new WebKitCssMatrix(..)` constructor, creating a new instance of `WebKitCssMatrix`."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
28 pub fn new_with_transform_list(transform_list: &str) -> Result<WebKitCssMatrix, JsValue>;
29 #[wasm_bindgen(catch, constructor, js_class = "WebKitCSSMatrix")]
30 #[doc = "The `new WebKitCssMatrix(..)` constructor, creating a new instance of `WebKitCssMatrix`."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/WebKitCSSMatrix)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
35 pub fn new_with_other(other: &WebKitCssMatrix) -> Result<WebKitCssMatrix, JsValue>;
36 # [wasm_bindgen (catch , method , structural , js_class = "WebKitCSSMatrix" , js_name = inverse)]
37 #[doc = "The `inverse()` method."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/inverse)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
42 pub fn inverse(this: &WebKitCssMatrix) -> Result<WebKitCssMatrix, JsValue>;
43 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = multiply)]
44 #[doc = "The `multiply()` method."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/multiply)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
49 pub fn multiply(this: &WebKitCssMatrix, other: &WebKitCssMatrix) -> WebKitCssMatrix;
50 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
51 #[doc = "The `rotate()` method."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
56 pub fn rotate(this: &WebKitCssMatrix) -> WebKitCssMatrix;
57 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
58 #[doc = "The `rotate()` method."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
63 pub fn rotate_with_rot_x(this: &WebKitCssMatrix, rot_x: f64) -> WebKitCssMatrix;
64 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
65 #[doc = "The `rotate()` method."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
70 pub fn rotate_with_rot_x_and_rot_y(
71 this: &WebKitCssMatrix,
72 rot_x: f64,
73 rot_y: f64,
74 ) -> WebKitCssMatrix;
75 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotate)]
76 #[doc = "The `rotate()` method."]
77 #[doc = ""]
78 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotate)"]
79 #[doc = ""]
80 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
81 pub fn rotate_with_rot_x_and_rot_y_and_rot_z(
82 this: &WebKitCssMatrix,
83 rot_x: f64,
84 rot_y: f64,
85 rot_z: f64,
86 ) -> WebKitCssMatrix;
87 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
88 #[doc = "The `rotateAxisAngle()` method."]
89 #[doc = ""]
90 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
91 #[doc = ""]
92 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
93 pub fn rotate_axis_angle(this: &WebKitCssMatrix) -> WebKitCssMatrix;
94 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
95 #[doc = "The `rotateAxisAngle()` method."]
96 #[doc = ""]
97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
98 #[doc = ""]
99 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
100 pub fn rotate_axis_angle_with_x(this: &WebKitCssMatrix, x: f64) -> WebKitCssMatrix;
101 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
102 #[doc = "The `rotateAxisAngle()` method."]
103 #[doc = ""]
104 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
105 #[doc = ""]
106 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
107 pub fn rotate_axis_angle_with_x_and_y(
108 this: &WebKitCssMatrix,
109 x: f64,
110 y: f64,
111 ) -> WebKitCssMatrix;
112 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
113 #[doc = "The `rotateAxisAngle()` method."]
114 #[doc = ""]
115 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
116 #[doc = ""]
117 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
118 pub fn rotate_axis_angle_with_x_and_y_and_z(
119 this: &WebKitCssMatrix,
120 x: f64,
121 y: f64,
122 z: f64,
123 ) -> WebKitCssMatrix;
124 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = rotateAxisAngle)]
125 #[doc = "The `rotateAxisAngle()` method."]
126 #[doc = ""]
127 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/rotateAxisAngle)"]
128 #[doc = ""]
129 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
130 pub fn rotate_axis_angle_with_x_and_y_and_z_and_angle(
131 this: &WebKitCssMatrix,
132 x: f64,
133 y: f64,
134 z: f64,
135 angle: f64,
136 ) -> WebKitCssMatrix;
137 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
138 #[doc = "The `scale()` method."]
139 #[doc = ""]
140 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
141 #[doc = ""]
142 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
143 pub fn scale(this: &WebKitCssMatrix) -> WebKitCssMatrix;
144 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
145 #[doc = "The `scale()` method."]
146 #[doc = ""]
147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
148 #[doc = ""]
149 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
150 pub fn scale_with_scale_x(this: &WebKitCssMatrix, scale_x: f64) -> WebKitCssMatrix;
151 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
152 #[doc = "The `scale()` method."]
153 #[doc = ""]
154 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
155 #[doc = ""]
156 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
157 pub fn scale_with_scale_x_and_scale_y(
158 this: &WebKitCssMatrix,
159 scale_x: f64,
160 scale_y: f64,
161 ) -> WebKitCssMatrix;
162 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = scale)]
163 #[doc = "The `scale()` method."]
164 #[doc = ""]
165 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/scale)"]
166 #[doc = ""]
167 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
168 pub fn scale_with_scale_x_and_scale_y_and_scale_z(
169 this: &WebKitCssMatrix,
170 scale_x: f64,
171 scale_y: f64,
172 scale_z: f64,
173 ) -> WebKitCssMatrix;
174 # [wasm_bindgen (catch , method , structural , js_class = "WebKitCSSMatrix" , js_name = setMatrixValue)]
175 #[doc = "The `setMatrixValue()` method."]
176 #[doc = ""]
177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/setMatrixValue)"]
178 #[doc = ""]
179 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
180 pub fn set_matrix_value(
181 this: &WebKitCssMatrix,
182 transform_list: &str,
183 ) -> Result<WebKitCssMatrix, JsValue>;
184 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewX)]
185 #[doc = "The `skewX()` method."]
186 #[doc = ""]
187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)"]
188 #[doc = ""]
189 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
190 pub fn skew_x(this: &WebKitCssMatrix) -> WebKitCssMatrix;
191 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewX)]
192 #[doc = "The `skewX()` method."]
193 #[doc = ""]
194 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewX)"]
195 #[doc = ""]
196 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
197 pub fn skew_x_with_sx(this: &WebKitCssMatrix, sx: f64) -> WebKitCssMatrix;
198 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewY)]
199 #[doc = "The `skewY()` method."]
200 #[doc = ""]
201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)"]
202 #[doc = ""]
203 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
204 pub fn skew_y(this: &WebKitCssMatrix) -> WebKitCssMatrix;
205 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = skewY)]
206 #[doc = "The `skewY()` method."]
207 #[doc = ""]
208 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/skewY)"]
209 #[doc = ""]
210 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
211 pub fn skew_y_with_sy(this: &WebKitCssMatrix, sy: f64) -> WebKitCssMatrix;
212 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
213 #[doc = "The `translate()` method."]
214 #[doc = ""]
215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
216 #[doc = ""]
217 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
218 pub fn translate(this: &WebKitCssMatrix) -> WebKitCssMatrix;
219 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
220 #[doc = "The `translate()` method."]
221 #[doc = ""]
222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
223 #[doc = ""]
224 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
225 pub fn translate_with_tx(this: &WebKitCssMatrix, tx: f64) -> WebKitCssMatrix;
226 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
227 #[doc = "The `translate()` method."]
228 #[doc = ""]
229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
230 #[doc = ""]
231 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
232 pub fn translate_with_tx_and_ty(this: &WebKitCssMatrix, tx: f64, ty: f64) -> WebKitCssMatrix;
233 # [wasm_bindgen (method , structural , js_class = "WebKitCSSMatrix" , js_name = translate)]
234 #[doc = "The `translate()` method."]
235 #[doc = ""]
236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebKitCSSMatrix/translate)"]
237 #[doc = ""]
238 #[doc = "*This API requires the following crate features to be activated: `WebKitCssMatrix`*"]
239 pub fn translate_with_tx_and_ty_and_tz(
240 this: &WebKitCssMatrix,
241 tx: f64,
242 ty: f64,
243 tz: f64,
244 ) -> WebKitCssMatrix;
245}