Skip to main content

web_sys/features/
gen_SvgfeCompositeElement.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 = "SVGFECompositeElement",
14        typescript_type = "SVGFECompositeElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgfeCompositeElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
22    pub type SvgfeCompositeElement;
23    #[cfg(feature = "SvgAnimatedString")]
24    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", 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/SVGFECompositeElement/in1)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
30    pub fn in1(this: &SvgfeCompositeElement) -> SvgAnimatedString;
31    #[cfg(feature = "SvgAnimatedString")]
32    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "in2")]
33    #[doc = "Getter for the `in2` field of this object."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/in2)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
38    pub fn in2(this: &SvgfeCompositeElement) -> SvgAnimatedString;
39    #[cfg(feature = "SvgAnimatedEnumeration")]
40    #[wasm_bindgen(
41        method,
42        getter,
43        js_class = "SVGFECompositeElement",
44        js_name = "operator"
45    )]
46    #[doc = "Getter for the `operator` field of this object."]
47    #[doc = ""]
48    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/operator)"]
49    #[doc = ""]
50    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeCompositeElement`*"]
51    pub fn operator(this: &SvgfeCompositeElement) -> SvgAnimatedEnumeration;
52    #[cfg(feature = "SvgAnimatedNumber")]
53    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "k1")]
54    #[doc = "Getter for the `k1` field of this object."]
55    #[doc = ""]
56    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k1)"]
57    #[doc = ""]
58    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
59    pub fn k1(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
60    #[cfg(feature = "SvgAnimatedNumber")]
61    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "k2")]
62    #[doc = "Getter for the `k2` field of this object."]
63    #[doc = ""]
64    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k2)"]
65    #[doc = ""]
66    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
67    pub fn k2(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
68    #[cfg(feature = "SvgAnimatedNumber")]
69    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "k3")]
70    #[doc = "Getter for the `k3` field of this object."]
71    #[doc = ""]
72    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k3)"]
73    #[doc = ""]
74    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
75    pub fn k3(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
76    #[cfg(feature = "SvgAnimatedNumber")]
77    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "k4")]
78    #[doc = "Getter for the `k4` field of this object."]
79    #[doc = ""]
80    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/k4)"]
81    #[doc = ""]
82    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeCompositeElement`*"]
83    pub fn k4(this: &SvgfeCompositeElement) -> SvgAnimatedNumber;
84    #[cfg(feature = "SvgAnimatedLength")]
85    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "x")]
86    #[doc = "Getter for the `x` field of this object."]
87    #[doc = ""]
88    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/x)"]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
91    pub fn x(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
92    #[cfg(feature = "SvgAnimatedLength")]
93    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "y")]
94    #[doc = "Getter for the `y` field of this object."]
95    #[doc = ""]
96    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/y)"]
97    #[doc = ""]
98    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
99    pub fn y(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
100    #[cfg(feature = "SvgAnimatedLength")]
101    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "width")]
102    #[doc = "Getter for the `width` field of this object."]
103    #[doc = ""]
104    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/width)"]
105    #[doc = ""]
106    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
107    pub fn width(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
108    #[cfg(feature = "SvgAnimatedLength")]
109    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "height")]
110    #[doc = "Getter for the `height` field of this object."]
111    #[doc = ""]
112    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/height)"]
113    #[doc = ""]
114    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeCompositeElement`*"]
115    pub fn height(this: &SvgfeCompositeElement) -> SvgAnimatedLength;
116    #[cfg(feature = "SvgAnimatedString")]
117    #[wasm_bindgen(method, getter, js_class = "SVGFECompositeElement", js_name = "result")]
118    #[doc = "Getter for the `result` field of this object."]
119    #[doc = ""]
120    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement/result)"]
121    #[doc = ""]
122    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeCompositeElement`*"]
123    pub fn result(this: &SvgfeCompositeElement) -> SvgAnimatedString;
124}
125impl SvgfeCompositeElement {
126    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN` const."]
127    #[doc = ""]
128    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
129    pub const SVG_FECOMPOSITE_OPERATOR_UNKNOWN: u16 = 0i64 as u16;
130    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER` const."]
131    #[doc = ""]
132    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
133    pub const SVG_FECOMPOSITE_OPERATOR_OVER: u16 = 1u64 as u16;
134    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN` const."]
135    #[doc = ""]
136    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
137    pub const SVG_FECOMPOSITE_OPERATOR_IN: u16 = 2u64 as u16;
138    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT` const."]
139    #[doc = ""]
140    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
141    pub const SVG_FECOMPOSITE_OPERATOR_OUT: u16 = 3u64 as u16;
142    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP` const."]
143    #[doc = ""]
144    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
145    pub const SVG_FECOMPOSITE_OPERATOR_ATOP: u16 = 4u64 as u16;
146    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR` const."]
147    #[doc = ""]
148    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
149    pub const SVG_FECOMPOSITE_OPERATOR_XOR: u16 = 5u64 as u16;
150    #[doc = "The `SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC` const."]
151    #[doc = ""]
152    #[doc = "*This API requires the following crate features to be activated: `SvgfeCompositeElement`*"]
153    pub const SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: u16 = 6u64 as u16;
154}