1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPoint , typescript_type = "SVGPoint")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SvgPoint` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
13     pub type SvgPoint;
14     # [wasm_bindgen (structural , method , getter , js_class = "SVGPoint" , js_name = x)]
15     #[doc = "Getter for the `x` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
x(this: &SvgPoint) -> f3220     pub fn x(this: &SvgPoint) -> f32;
21     # [wasm_bindgen (structural , method , setter , js_class = "SVGPoint" , js_name = x)]
22     #[doc = "Setter for the `x` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
set_x(this: &SvgPoint, value: f32)27     pub fn set_x(this: &SvgPoint, value: f32);
28     # [wasm_bindgen (structural , method , getter , js_class = "SVGPoint" , js_name = y)]
29     #[doc = "Getter for the `y` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
y(this: &SvgPoint) -> f3234     pub fn y(this: &SvgPoint) -> f32;
35     # [wasm_bindgen (structural , method , setter , js_class = "SVGPoint" , js_name = y)]
36     #[doc = "Setter for the `y` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
set_y(this: &SvgPoint, value: f32)41     pub fn set_y(this: &SvgPoint, value: f32);
42     #[cfg(feature = "SvgMatrix")]
43     # [wasm_bindgen (method , structural , js_class = "SVGPoint" , js_name = matrixTransform)]
44     #[doc = "The `matrixTransform()` method."]
45     #[doc = ""]
46     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/matrixTransform)"]
47     #[doc = ""]
48     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgPoint`*"]
matrix_transform(this: &SvgPoint, matrix: &SvgMatrix) -> SvgPoint49     pub fn matrix_transform(this: &SvgPoint, matrix: &SvgMatrix) -> SvgPoint;
50 }
51