web_sys/features/
gen_SvgPathSegCurvetoCubicSmoothRel.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 = "SVGPathSegCurvetoCubicSmoothRel" , typescript_type = "SVGPathSegCurvetoCubicSmoothRel")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgPathSegCurvetoCubicSmoothRel` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
14 pub type SvgPathSegCurvetoCubicSmoothRel;
15 #[wasm_bindgen(
16 method,
17 getter,
18 js_class = "SVGPathSegCurvetoCubicSmoothRel",
19 js_name = "x"
20 )]
21 #[doc = "Getter for the `x` field of this object."]
22 #[doc = ""]
23 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x)"]
24 #[doc = ""]
25 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
26 pub fn x(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
27 #[wasm_bindgen(
28 method,
29 setter,
30 js_class = "SVGPathSegCurvetoCubicSmoothRel",
31 js_name = "x"
32 )]
33 #[doc = "Setter for the `x` field of this object."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x)"]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
38 pub fn set_x(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
39 #[wasm_bindgen(
40 method,
41 getter,
42 js_class = "SVGPathSegCurvetoCubicSmoothRel",
43 js_name = "y"
44 )]
45 #[doc = "Getter for the `y` field of this object."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
50 pub fn y(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
51 #[wasm_bindgen(
52 method,
53 setter,
54 js_class = "SVGPathSegCurvetoCubicSmoothRel",
55 js_name = "y"
56 )]
57 #[doc = "Setter for the `y` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
62 pub fn set_y(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
63 #[wasm_bindgen(
64 method,
65 getter,
66 js_class = "SVGPathSegCurvetoCubicSmoothRel",
67 js_name = "x2"
68 )]
69 #[doc = "Getter for the `x2` field of this object."]
70 #[doc = ""]
71 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x2)"]
72 #[doc = ""]
73 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
74 pub fn x2(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
75 #[wasm_bindgen(
76 method,
77 setter,
78 js_class = "SVGPathSegCurvetoCubicSmoothRel",
79 js_name = "x2"
80 )]
81 #[doc = "Setter for the `x2` field of this object."]
82 #[doc = ""]
83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/x2)"]
84 #[doc = ""]
85 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
86 pub fn set_x2(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
87 #[wasm_bindgen(
88 method,
89 getter,
90 js_class = "SVGPathSegCurvetoCubicSmoothRel",
91 js_name = "y2"
92 )]
93 #[doc = "Getter for the `y2` field of this object."]
94 #[doc = ""]
95 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y2)"]
96 #[doc = ""]
97 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
98 pub fn y2(this: &SvgPathSegCurvetoCubicSmoothRel) -> f32;
99 #[wasm_bindgen(
100 method,
101 setter,
102 js_class = "SVGPathSegCurvetoCubicSmoothRel",
103 js_name = "y2"
104 )]
105 #[doc = "Setter for the `y2` field of this object."]
106 #[doc = ""]
107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothRel/y2)"]
108 #[doc = ""]
109 #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoCubicSmoothRel`*"]
110 pub fn set_y2(this: &SvgPathSegCurvetoCubicSmoothRel, value: f32);
111}