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