Skip to main content

web_sys/features/
gen_SvgfeMorphologyElement.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "SvgElement",
9        extends = "Element",
10        extends = "Node",
11        extends = "EventTarget",
12        extends = "::js_sys::Object",
13        js_name = "SVGFEMorphologyElement",
14        typescript_type = "SVGFEMorphologyElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgfeMorphologyElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
22    pub type SvgfeMorphologyElement;
23    #[cfg(feature = "SvgAnimatedString")]
24    #[wasm_bindgen(method, getter, js_class = "SVGFEMorphologyElement", js_name = "in1")]
25    #[doc = "Getter for the `in1` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/in1)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*"]
30    pub fn in1(this: &SvgfeMorphologyElement) -> SvgAnimatedString;
31    #[cfg(feature = "SvgAnimatedEnumeration")]
32    #[wasm_bindgen(
33        method,
34        getter,
35        js_class = "SVGFEMorphologyElement",
36        js_name = "operator"
37    )]
38    #[doc = "Getter for the `operator` field of this object."]
39    #[doc = ""]
40    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/operator)"]
41    #[doc = ""]
42    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeMorphologyElement`*"]
43    pub fn operator(this: &SvgfeMorphologyElement) -> SvgAnimatedEnumeration;
44    #[cfg(feature = "SvgAnimatedNumber")]
45    #[wasm_bindgen(
46        method,
47        getter,
48        js_class = "SVGFEMorphologyElement",
49        js_name = "radiusX"
50    )]
51    #[doc = "Getter for the `radiusX` field of this object."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusX)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*"]
56    pub fn radius_x(this: &SvgfeMorphologyElement) -> SvgAnimatedNumber;
57    #[cfg(feature = "SvgAnimatedNumber")]
58    #[wasm_bindgen(
59        method,
60        getter,
61        js_class = "SVGFEMorphologyElement",
62        js_name = "radiusY"
63    )]
64    #[doc = "Getter for the `radiusY` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/radiusY)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeMorphologyElement`*"]
69    pub fn radius_y(this: &SvgfeMorphologyElement) -> SvgAnimatedNumber;
70    #[cfg(feature = "SvgAnimatedLength")]
71    #[wasm_bindgen(method, getter, js_class = "SVGFEMorphologyElement", js_name = "x")]
72    #[doc = "Getter for the `x` field of this object."]
73    #[doc = ""]
74    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/x)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
77    pub fn x(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
78    #[cfg(feature = "SvgAnimatedLength")]
79    #[wasm_bindgen(method, getter, js_class = "SVGFEMorphologyElement", js_name = "y")]
80    #[doc = "Getter for the `y` field of this object."]
81    #[doc = ""]
82    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/y)"]
83    #[doc = ""]
84    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
85    pub fn y(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
86    #[cfg(feature = "SvgAnimatedLength")]
87    #[wasm_bindgen(method, getter, js_class = "SVGFEMorphologyElement", js_name = "width")]
88    #[doc = "Getter for the `width` field of this object."]
89    #[doc = ""]
90    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/width)"]
91    #[doc = ""]
92    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
93    pub fn width(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
94    #[cfg(feature = "SvgAnimatedLength")]
95    #[wasm_bindgen(
96        method,
97        getter,
98        js_class = "SVGFEMorphologyElement",
99        js_name = "height"
100    )]
101    #[doc = "Getter for the `height` field of this object."]
102    #[doc = ""]
103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/height)"]
104    #[doc = ""]
105    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeMorphologyElement`*"]
106    pub fn height(this: &SvgfeMorphologyElement) -> SvgAnimatedLength;
107    #[cfg(feature = "SvgAnimatedString")]
108    #[wasm_bindgen(
109        method,
110        getter,
111        js_class = "SVGFEMorphologyElement",
112        js_name = "result"
113    )]
114    #[doc = "Getter for the `result` field of this object."]
115    #[doc = ""]
116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement/result)"]
117    #[doc = ""]
118    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeMorphologyElement`*"]
119    pub fn result(this: &SvgfeMorphologyElement) -> SvgAnimatedString;
120}
121impl SvgfeMorphologyElement {
122    #[doc = "The `SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN` const."]
123    #[doc = ""]
124    #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
125    pub const SVG_MORPHOLOGY_OPERATOR_UNKNOWN: u16 = 0i64 as u16;
126    #[doc = "The `SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE` const."]
127    #[doc = ""]
128    #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
129    pub const SVG_MORPHOLOGY_OPERATOR_ERODE: u16 = 1u64 as u16;
130    #[doc = "The `SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE` const."]
131    #[doc = ""]
132    #[doc = "*This API requires the following crate features to be activated: `SvgfeMorphologyElement`*"]
133    pub const SVG_MORPHOLOGY_OPERATOR_DILATE: u16 = 2u64 as u16;
134}