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