maxcountryman_web_sys/features/
gen_SvgPathSeg.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = SVGPathSeg , typescript_type = "SVGPathSeg")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `SvgPathSeg` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
13 pub type SvgPathSeg;
14 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSeg" , js_name = pathSegType)]
15 #[doc = "Getter for the `pathSegType` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg/pathSegType)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
20 pub fn path_seg_type(this: &SvgPathSeg) -> u16;
21 # [wasm_bindgen (structural , method , getter , js_class = "SVGPathSeg" , js_name = pathSegTypeAsLetter)]
22 #[doc = "Getter for the `pathSegTypeAsLetter` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSeg/pathSegTypeAsLetter)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
27 pub fn path_seg_type_as_letter(this: &SvgPathSeg) -> String;
28}
29impl SvgPathSeg {
30 #[doc = "The `SVGPathSeg.PATHSEG_UNKNOWN` const."]
31 #[doc = ""]
32 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
33 pub const PATHSEG_UNKNOWN: u16 = 0i64 as u16;
34 #[doc = "The `SVGPathSeg.PATHSEG_CLOSEPATH` const."]
35 #[doc = ""]
36 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
37 pub const PATHSEG_CLOSEPATH: u16 = 1u64 as u16;
38 #[doc = "The `SVGPathSeg.PATHSEG_MOVETO_ABS` const."]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
41 pub const PATHSEG_MOVETO_ABS: u16 = 2u64 as u16;
42 #[doc = "The `SVGPathSeg.PATHSEG_MOVETO_REL` const."]
43 #[doc = ""]
44 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
45 pub const PATHSEG_MOVETO_REL: u16 = 3u64 as u16;
46 #[doc = "The `SVGPathSeg.PATHSEG_LINETO_ABS` const."]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
49 pub const PATHSEG_LINETO_ABS: u16 = 4u64 as u16;
50 #[doc = "The `SVGPathSeg.PATHSEG_LINETO_REL` const."]
51 #[doc = ""]
52 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
53 pub const PATHSEG_LINETO_REL: u16 = 5u64 as u16;
54 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS` const."]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
57 pub const PATHSEG_CURVETO_CUBIC_ABS: u16 = 6u64 as u16;
58 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL` const."]
59 #[doc = ""]
60 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
61 pub const PATHSEG_CURVETO_CUBIC_REL: u16 = 7u64 as u16;
62 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS` const."]
63 #[doc = ""]
64 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
65 pub const PATHSEG_CURVETO_QUADRATIC_ABS: u16 = 8u64 as u16;
66 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL` const."]
67 #[doc = ""]
68 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
69 pub const PATHSEG_CURVETO_QUADRATIC_REL: u16 = 9u64 as u16;
70 #[doc = "The `SVGPathSeg.PATHSEG_ARC_ABS` const."]
71 #[doc = ""]
72 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
73 pub const PATHSEG_ARC_ABS: u16 = 10u64 as u16;
74 #[doc = "The `SVGPathSeg.PATHSEG_ARC_REL` const."]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
77 pub const PATHSEG_ARC_REL: u16 = 11u64 as u16;
78 #[doc = "The `SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS` const."]
79 #[doc = ""]
80 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
81 pub const PATHSEG_LINETO_HORIZONTAL_ABS: u16 = 12u64 as u16;
82 #[doc = "The `SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL` const."]
83 #[doc = ""]
84 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
85 pub const PATHSEG_LINETO_HORIZONTAL_REL: u16 = 13u64 as u16;
86 #[doc = "The `SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS` const."]
87 #[doc = ""]
88 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
89 pub const PATHSEG_LINETO_VERTICAL_ABS: u16 = 14u64 as u16;
90 #[doc = "The `SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL` const."]
91 #[doc = ""]
92 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
93 pub const PATHSEG_LINETO_VERTICAL_REL: u16 = 15u64 as u16;
94 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS` const."]
95 #[doc = ""]
96 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
97 pub const PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: u16 = 16u64 as u16;
98 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL` const."]
99 #[doc = ""]
100 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
101 pub const PATHSEG_CURVETO_CUBIC_SMOOTH_REL: u16 = 17u64 as u16;
102 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS` const."]
103 #[doc = ""]
104 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
105 pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: u16 = 18u64 as u16;
106 #[doc = "The `SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL` const."]
107 #[doc = ""]
108 #[doc = "*This API requires the following crate features to be activated: `SvgPathSeg`*"]
109 pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: u16 = 19u64 as u16;
110}