Skip to main content

web_sys/features/
gen_WebKitCssMatrix.rs

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