maxcountryman_web_sys/features/
gen_SvgfeMorphologyElement.rs

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