]>
git.proxmox.com Git - rustc.git/blob - vendor/web-sys/src/features/gen_SvgPathElement.rs
1 #![allow(unused_imports)]
4 use wasm_bindgen
::prelude
::*;
7 # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPathElement , typescript_type = "SVGPathElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgPathElement` class."]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement)"]
13 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
14 pub type SvgPathElement
;
15 #[cfg(feature = "SvgPathSegList")]
16 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = pathSegList)]
17 #[doc = "Getter for the `pathSegList` field of this object."]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/pathSegList)"]
21 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
22 pub fn path_seg_list(this
: &SvgPathElement
) -> SvgPathSegList
;
23 #[cfg(feature = "SvgPathSegList")]
24 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathElement" , js_name = animatedPathSegList)]
25 #[doc = "Getter for the `animatedPathSegList` field of this object."]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/animatedPathSegList)"]
29 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`, `SvgPathSegList`*"]
30 pub fn animated_path_seg_list(this
: &SvgPathElement
) -> SvgPathSegList
;
31 # [wasm_bindgen (method , structural , js_class = "SVGPathElement" , js_name = getPathSegAtLength)]
32 #[doc = "The `getPathSegAtLength()` method."]
34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getPathSegAtLength)"]
36 #[doc = "*This API requires the following crate features to be activated: `SvgPathElement`*"]
37 pub fn get_path_seg_at_length(this
: &SvgPathElement
, distance
: f32) -> u32;