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 = SVGPathElement , typescript_type = "SVGPathElement")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SvgPathElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
13     pub type SvgPathElement;
14     #[cfg(feature = "SvgPathSegList")]
15     # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = pathSegList)]
16     #[doc = "Getter for the `pathSegList` field of this object."]
17     #[doc = ""]
18     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/pathSegList)"]
19     #[doc = ""]
20     #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
path_seg_list(this: &SvgPathElement) -> SvgPathSegList21     pub fn path_seg_list(this: &SvgPathElement) -> SvgPathSegList;
22     #[cfg(feature = "SvgPathSegList")]
23     # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = animatedPathSegList)]
24     #[doc = "Getter for the `animatedPathSegList` field of this object."]
25     #[doc = ""]
26     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/animatedPathSegList)"]
27     #[doc = ""]
28     #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
animated_path_seg_list(this: &SvgPathElement) -> SvgPathSegList29     pub fn animated_path_seg_list(this: &SvgPathElement) -> SvgPathSegList;
30     # [wasm_bindgen (method , structural , js_class = "SVGPathElement" , js_name = getPathSegAtLength)]
31     #[doc = "The `getPathSegAtLength()` method."]
32     #[doc = ""]
33     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getPathSegAtLength)"]
34     #[doc = ""]
35     #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
get_path_seg_at_length(this: &SvgPathElement, distance: f32) -> u3236     pub fn get_path_seg_at_length(this: &SvgPathElement, distance: f32) -> u32;
37 }
38