Skip to main content

web_sys/features/
gen_SvgPathSegArcAbs.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (is_type_of = | _ | false , extends = "SvgPathSeg" , extends = "::js_sys::Object" , js_name = "SVGPathSegArcAbs" , typescript_type = "SVGPathSegArcAbs")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `SvgPathSegArcAbs` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
14    pub type SvgPathSegArcAbs;
15    #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcAbs", js_name = "x")]
16    #[doc = "Getter for the `x` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/x)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
21    pub fn x(this: &SvgPathSegArcAbs) -> f32;
22    #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcAbs", js_name = "x")]
23    #[doc = "Setter for the `x` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/x)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
28    pub fn set_x(this: &SvgPathSegArcAbs, value: f32);
29    #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcAbs", js_name = "y")]
30    #[doc = "Getter for the `y` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/y)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
35    pub fn y(this: &SvgPathSegArcAbs) -> f32;
36    #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcAbs", js_name = "y")]
37    #[doc = "Setter for the `y` field of this object."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/y)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
42    pub fn set_y(this: &SvgPathSegArcAbs, value: f32);
43    #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcAbs", js_name = "r1")]
44    #[doc = "Getter for the `r1` field of this object."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r1)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
49    pub fn r1(this: &SvgPathSegArcAbs) -> f32;
50    #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcAbs", js_name = "r1")]
51    #[doc = "Setter for the `r1` field of this object."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r1)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
56    pub fn set_r1(this: &SvgPathSegArcAbs, value: f32);
57    #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcAbs", js_name = "r2")]
58    #[doc = "Getter for the `r2` field of this object."]
59    #[doc = ""]
60    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r2)"]
61    #[doc = ""]
62    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
63    pub fn r2(this: &SvgPathSegArcAbs) -> f32;
64    #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcAbs", js_name = "r2")]
65    #[doc = "Setter for the `r2` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/r2)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
70    pub fn set_r2(this: &SvgPathSegArcAbs, value: f32);
71    #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcAbs", js_name = "angle")]
72    #[doc = "Getter for the `angle` field of this object."]
73    #[doc = ""]
74    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/angle)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
77    pub fn angle(this: &SvgPathSegArcAbs) -> f32;
78    #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcAbs", js_name = "angle")]
79    #[doc = "Setter for the `angle` field of this object."]
80    #[doc = ""]
81    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/angle)"]
82    #[doc = ""]
83    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
84    pub fn set_angle(this: &SvgPathSegArcAbs, value: f32);
85    #[wasm_bindgen(
86        method,
87        getter,
88        js_class = "SVGPathSegArcAbs",
89        js_name = "largeArcFlag"
90    )]
91    #[doc = "Getter for the `largeArcFlag` field of this object."]
92    #[doc = ""]
93    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/largeArcFlag)"]
94    #[doc = ""]
95    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
96    pub fn large_arc_flag(this: &SvgPathSegArcAbs) -> bool;
97    #[wasm_bindgen(
98        method,
99        setter,
100        js_class = "SVGPathSegArcAbs",
101        js_name = "largeArcFlag"
102    )]
103    #[doc = "Setter for the `largeArcFlag` field of this object."]
104    #[doc = ""]
105    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/largeArcFlag)"]
106    #[doc = ""]
107    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
108    pub fn set_large_arc_flag(this: &SvgPathSegArcAbs, value: bool);
109    #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcAbs", js_name = "sweepFlag")]
110    #[doc = "Getter for the `sweepFlag` field of this object."]
111    #[doc = ""]
112    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/sweepFlag)"]
113    #[doc = ""]
114    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
115    pub fn sweep_flag(this: &SvgPathSegArcAbs) -> bool;
116    #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcAbs", js_name = "sweepFlag")]
117    #[doc = "Setter for the `sweepFlag` field of this object."]
118    #[doc = ""]
119    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcAbs/sweepFlag)"]
120    #[doc = ""]
121    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcAbs`*"]
122    pub fn set_sweep_flag(this: &SvgPathSegArcAbs, value: bool);
123}