Skip to main content

web_sys/features/
gen_SvgPathSegCurvetoQuadraticSmoothAbs.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 = "SVGPathSegCurvetoQuadraticSmoothAbs" , typescript_type = "SVGPathSegCurvetoQuadraticSmoothAbs")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `SvgPathSegCurvetoQuadraticSmoothAbs` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoQuadraticSmoothAbs)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
14    pub type SvgPathSegCurvetoQuadraticSmoothAbs;
15    #[wasm_bindgen(
16        method,
17        getter,
18        js_class = "SVGPathSegCurvetoQuadraticSmoothAbs",
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/SVGPathSegCurvetoQuadraticSmoothAbs/x)"]
24    #[doc = ""]
25    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
26    pub fn x(this: &SvgPathSegCurvetoQuadraticSmoothAbs) -> f32;
27    #[wasm_bindgen(
28        method,
29        setter,
30        js_class = "SVGPathSegCurvetoQuadraticSmoothAbs",
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/SVGPathSegCurvetoQuadraticSmoothAbs/x)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
38    pub fn set_x(this: &SvgPathSegCurvetoQuadraticSmoothAbs, value: f32);
39    #[wasm_bindgen(
40        method,
41        getter,
42        js_class = "SVGPathSegCurvetoQuadraticSmoothAbs",
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/SVGPathSegCurvetoQuadraticSmoothAbs/y)"]
48    #[doc = ""]
49    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
50    pub fn y(this: &SvgPathSegCurvetoQuadraticSmoothAbs) -> f32;
51    #[wasm_bindgen(
52        method,
53        setter,
54        js_class = "SVGPathSegCurvetoQuadraticSmoothAbs",
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/SVGPathSegCurvetoQuadraticSmoothAbs/y)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `SvgPathSegCurvetoQuadraticSmoothAbs`*"]
62    pub fn set_y(this: &SvgPathSegCurvetoQuadraticSmoothAbs, value: f32);
63}