web_sys/features/
gen_SvgCircleElement.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 = "SVGCircleElement",
16 typescript_type = "SVGCircleElement"
17 )]
18 #[derive(Debug, Clone, PartialEq, Eq)]
19 #[doc = "The `SvgCircleElement` class."]
20 #[doc = ""]
21 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement)"]
22 #[doc = ""]
23 #[doc = "*This API requires the following crate features to be activated: `SvgCircleElement`*"]
24 pub type SvgCircleElement;
25 #[cfg(feature = "SvgAnimatedLength")]
26 #[wasm_bindgen(method, getter, js_class = "SVGCircleElement", 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/SVGCircleElement/cx)"]
30 #[doc = ""]
31 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*"]
32 pub fn cx(this: &SvgCircleElement) -> SvgAnimatedLength;
33 #[cfg(feature = "SvgAnimatedLength")]
34 #[wasm_bindgen(method, getter, js_class = "SVGCircleElement", 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/SVGCircleElement/cy)"]
38 #[doc = ""]
39 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*"]
40 pub fn cy(this: &SvgCircleElement) -> SvgAnimatedLength;
41 #[cfg(feature = "SvgAnimatedLength")]
42 #[wasm_bindgen(method, getter, js_class = "SVGCircleElement", js_name = "r")]
43 #[doc = "Getter for the `r` field of this object."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement/r)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgCircleElement`*"]
48 pub fn r(this: &SvgCircleElement) -> SvgAnimatedLength;
49}