web_sys/features/
gen_SvgEllipseElement.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGEllipseElement , typescript_type = "SVGEllipseElement")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `SvgEllipseElement` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `SvgEllipseElement`*"]
14    pub type SvgEllipseElement;
15    #[cfg(feature = "SvgAnimatedLength")]
16    # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = cx)]
17    #[doc = "Getter for the `cx` field of this object."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cx)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
22    pub fn cx(this: &SvgEllipseElement) -> SvgAnimatedLength;
23    #[cfg(feature = "SvgAnimatedLength")]
24    # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = cy)]
25    #[doc = "Getter for the `cy` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/cy)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
30    pub fn cy(this: &SvgEllipseElement) -> SvgAnimatedLength;
31    #[cfg(feature = "SvgAnimatedLength")]
32    # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = rx)]
33    #[doc = "Getter for the `rx` field of this object."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/rx)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
38    pub fn rx(this: &SvgEllipseElement) -> SvgAnimatedLength;
39    #[cfg(feature = "SvgAnimatedLength")]
40    # [wasm_bindgen (structural , method , getter , js_class = "SVGEllipseElement" , js_name = ry)]
41    #[doc = "Getter for the `ry` field of this object."]
42    #[doc = ""]
43    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement/ry)"]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgEllipseElement`*"]
46    pub fn ry(this: &SvgEllipseElement) -> SvgAnimatedLength;
47}