1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGLineElement , typescript_type = "SVGLineElement")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SvgLineElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SvgLineElement`*"]
13     pub type SvgLineElement;
14     #[cfg(feature = "SvgAnimatedLength")]
15     # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = x1)]
16     #[doc = "Getter for the `x1` field of this object."]
17     #[doc = ""]
18     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x1)"]
19     #[doc = ""]
20     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
x1(this: &SvgLineElement) -> SvgAnimatedLength21     pub fn x1(this: &SvgLineElement) -> SvgAnimatedLength;
22     #[cfg(feature = "SvgAnimatedLength")]
23     # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = y1)]
24     #[doc = "Getter for the `y1` field of this object."]
25     #[doc = ""]
26     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y1)"]
27     #[doc = ""]
28     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
y1(this: &SvgLineElement) -> SvgAnimatedLength29     pub fn y1(this: &SvgLineElement) -> SvgAnimatedLength;
30     #[cfg(feature = "SvgAnimatedLength")]
31     # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = x2)]
32     #[doc = "Getter for the `x2` field of this object."]
33     #[doc = ""]
34     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/x2)"]
35     #[doc = ""]
36     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
x2(this: &SvgLineElement) -> SvgAnimatedLength37     pub fn x2(this: &SvgLineElement) -> SvgAnimatedLength;
38     #[cfg(feature = "SvgAnimatedLength")]
39     # [wasm_bindgen (structural , method , getter , js_class = "SVGLineElement" , js_name = y2)]
40     #[doc = "Getter for the `y2` field of this object."]
41     #[doc = ""]
42     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement/y2)"]
43     #[doc = ""]
44     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLineElement`*"]
y2(this: &SvgLineElement) -> SvgAnimatedLength45     pub fn y2(this: &SvgLineElement) -> SvgAnimatedLength;
46 }
47