web_sys/features/
gen_SvgPathSegArcRel.rs1#![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 = "SVGPathSegArcRel" , typescript_type = "SVGPathSegArcRel")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgPathSegArcRel` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegArcRel)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
14 pub type SvgPathSegArcRel;
15 #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/x)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
21 pub fn x(this: &SvgPathSegArcRel) -> f32;
22 #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/x)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
28 pub fn set_x(this: &SvgPathSegArcRel, value: f32);
29 #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/y)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
35 pub fn y(this: &SvgPathSegArcRel) -> f32;
36 #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/y)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
42 pub fn set_y(this: &SvgPathSegArcRel, value: f32);
43 #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/r1)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
49 pub fn r1(this: &SvgPathSegArcRel) -> f32;
50 #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/r1)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
56 pub fn set_r1(this: &SvgPathSegArcRel, value: f32);
57 #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/r2)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
63 pub fn r2(this: &SvgPathSegArcRel) -> f32;
64 #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/r2)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
70 pub fn set_r2(this: &SvgPathSegArcRel, value: f32);
71 #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/angle)"]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
77 pub fn angle(this: &SvgPathSegArcRel) -> f32;
78 #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/angle)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
84 pub fn set_angle(this: &SvgPathSegArcRel, value: f32);
85 #[wasm_bindgen(
86 method,
87 getter,
88 js_class = "SVGPathSegArcRel",
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/SVGPathSegArcRel/largeArcFlag)"]
94 #[doc = ""]
95 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
96 pub fn large_arc_flag(this: &SvgPathSegArcRel) -> bool;
97 #[wasm_bindgen(
98 method,
99 setter,
100 js_class = "SVGPathSegArcRel",
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/SVGPathSegArcRel/largeArcFlag)"]
106 #[doc = ""]
107 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
108 pub fn set_large_arc_flag(this: &SvgPathSegArcRel, value: bool);
109 #[wasm_bindgen(method, getter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/sweepFlag)"]
113 #[doc = ""]
114 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
115 pub fn sweep_flag(this: &SvgPathSegArcRel) -> bool;
116 #[wasm_bindgen(method, setter, js_class = "SVGPathSegArcRel", 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/SVGPathSegArcRel/sweepFlag)"]
120 #[doc = ""]
121 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegArcRel`*"]
122 pub fn set_sweep_flag(this: &SvgPathSegArcRel, value: bool);
123}