summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_SvgPoint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src/features/gen_SvgPoint.rs')
-rw-r--r--vendor/web-sys/src/features/gen_SvgPoint.rs50
1 files changed, 50 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_SvgPoint.rs b/vendor/web-sys/src/features/gen_SvgPoint.rs
new file mode 100644
index 000000000..8a328ff23
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgPoint.rs
@@ -0,0 +1,50 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGPoint , typescript_type = "SVGPoint")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `SvgPoint` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub type SvgPoint;
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPoint" , js_name = x)]
+ #[doc = "Getter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn x(this: &SvgPoint) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPoint" , js_name = x)]
+ #[doc = "Setter for the `x` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/x)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn set_x(this: &SvgPoint, value: f32);
+ # [wasm_bindgen (structural , method , getter , js_class = "SVGPoint" , js_name = y)]
+ #[doc = "Getter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn y(this: &SvgPoint) -> f32;
+ # [wasm_bindgen (structural , method , setter , js_class = "SVGPoint" , js_name = y)]
+ #[doc = "Setter for the `y` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/y)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgPoint`*"]
+ pub fn set_y(this: &SvgPoint, value: f32);
+ #[cfg(feature = "SvgMatrix")]
+ # [wasm_bindgen (method , structural , js_class = "SVGPoint" , js_name = matrixTransform)]
+ #[doc = "The `matrixTransform()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint/matrixTransform)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`, `SvgPoint`*"]
+ pub fn matrix_transform(this: &SvgPoint, matrix: &SvgMatrix) -> SvgPoint;
+}