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