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