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