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