1#![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 = SVGFEConvolveMatrixElement , typescript_type = "SVGFEConvolveMatrixElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgfeConvolveMatrixElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
14 pub type SvgfeConvolveMatrixElement;
15 #[cfg(feature = "SvgAnimatedString")]
16 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , 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/SVGFEConvolveMatrixElement/in1)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*"]
22 pub fn in1(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedString;
23 #[cfg(feature = "SvgAnimatedInteger")]
24 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = orderX)]
25 #[doc = "Getter for the `orderX` field of this object."]
26 #[doc = ""]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderX)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
30 pub fn order_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
31 #[cfg(feature = "SvgAnimatedInteger")]
32 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = orderY)]
33 #[doc = "Getter for the `orderY` field of this object."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/orderY)"]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
38 pub fn order_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
39 #[cfg(feature = "SvgAnimatedNumberList")]
40 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = kernelMatrix)]
41 #[doc = "Getter for the `kernelMatrix` field of this object."]
42 #[doc = ""]
43 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelMatrix)"]
44 #[doc = ""]
45 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeConvolveMatrixElement`*"]
46 pub fn kernel_matrix(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumberList;
47 #[cfg(feature = "SvgAnimatedNumber")]
48 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = divisor)]
49 #[doc = "Getter for the `divisor` field of this object."]
50 #[doc = ""]
51 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/divisor)"]
52 #[doc = ""]
53 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
54 pub fn divisor(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
55 #[cfg(feature = "SvgAnimatedNumber")]
56 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = bias)]
57 #[doc = "Getter for the `bias` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/bias)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
62 pub fn bias(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
63 #[cfg(feature = "SvgAnimatedInteger")]
64 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = targetX)]
65 #[doc = "Getter for the `targetX` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetX)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
70 pub fn target_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
71 #[cfg(feature = "SvgAnimatedInteger")]
72 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = targetY)]
73 #[doc = "Getter for the `targetY` field of this object."]
74 #[doc = ""]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/targetY)"]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedInteger`, `SvgfeConvolveMatrixElement`*"]
78 pub fn target_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedInteger;
79 #[cfg(feature = "SvgAnimatedEnumeration")]
80 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = edgeMode)]
81 #[doc = "Getter for the `edgeMode` field of this object."]
82 #[doc = ""]
83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/edgeMode)"]
84 #[doc = ""]
85 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeConvolveMatrixElement`*"]
86 pub fn edge_mode(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedEnumeration;
87 #[cfg(feature = "SvgAnimatedNumber")]
88 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = kernelUnitLengthX)]
89 #[doc = "Getter for the `kernelUnitLengthX` field of this object."]
90 #[doc = ""]
91 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthX)"]
92 #[doc = ""]
93 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
94 pub fn kernel_unit_length_x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
95 #[cfg(feature = "SvgAnimatedNumber")]
96 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = kernelUnitLengthY)]
97 #[doc = "Getter for the `kernelUnitLengthY` field of this object."]
98 #[doc = ""]
99 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthY)"]
100 #[doc = ""]
101 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeConvolveMatrixElement`*"]
102 pub fn kernel_unit_length_y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedNumber;
103 #[cfg(feature = "SvgAnimatedBoolean")]
104 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = preserveAlpha)]
105 #[doc = "Getter for the `preserveAlpha` field of this object."]
106 #[doc = ""]
107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/preserveAlpha)"]
108 #[doc = ""]
109 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedBoolean`, `SvgfeConvolveMatrixElement`*"]
110 pub fn preserve_alpha(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedBoolean;
111 #[cfg(feature = "SvgAnimatedLength")]
112 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = x)]
113 #[doc = "Getter for the `x` field of this object."]
114 #[doc = ""]
115 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/x)"]
116 #[doc = ""]
117 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
118 pub fn x(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
119 #[cfg(feature = "SvgAnimatedLength")]
120 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = y)]
121 #[doc = "Getter for the `y` field of this object."]
122 #[doc = ""]
123 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/y)"]
124 #[doc = ""]
125 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
126 pub fn y(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
127 #[cfg(feature = "SvgAnimatedLength")]
128 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = width)]
129 #[doc = "Getter for the `width` field of this object."]
130 #[doc = ""]
131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/width)"]
132 #[doc = ""]
133 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
134 pub fn width(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
135 #[cfg(feature = "SvgAnimatedLength")]
136 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = height)]
137 #[doc = "Getter for the `height` field of this object."]
138 #[doc = ""]
139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/height)"]
140 #[doc = ""]
141 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeConvolveMatrixElement`*"]
142 pub fn height(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedLength;
143 #[cfg(feature = "SvgAnimatedString")]
144 # [wasm_bindgen (structural , method , getter , js_class = "SVGFEConvolveMatrixElement" , js_name = result)]
145 #[doc = "Getter for the `result` field of this object."]
146 #[doc = ""]
147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement/result)"]
148 #[doc = ""]
149 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeConvolveMatrixElement`*"]
150 pub fn result(this: &SvgfeConvolveMatrixElement) -> SvgAnimatedString;
151}
152impl SvgfeConvolveMatrixElement {
153 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN` const."]
154 #[doc = ""]
155 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
156 pub const SVG_EDGEMODE_UNKNOWN: u16 = 0i64 as u16;
157 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE` const."]
158 #[doc = ""]
159 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
160 pub const SVG_EDGEMODE_DUPLICATE: u16 = 1u64 as u16;
161 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP` const."]
162 #[doc = ""]
163 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
164 pub const SVG_EDGEMODE_WRAP: u16 = 2u64 as u16;
165 #[doc = "The `SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE` const."]
166 #[doc = ""]
167 #[doc = "*This API requires the following crate features to be activated: `SvgfeConvolveMatrixElement`*"]
168 pub const SVG_EDGEMODE_NONE: u16 = 3u64 as u16;
169}