Skip to main content

web_sys/features/
gen_SvgfeBlendElement.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 = "SVGFEBlendElement",
14        typescript_type = "SVGFEBlendElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgfeBlendElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
22    pub type SvgfeBlendElement;
23    #[cfg(feature = "SvgAnimatedString")]
24    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", 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/SVGFEBlendElement/in1)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
30    pub fn in1(this: &SvgfeBlendElement) -> SvgAnimatedString;
31    #[cfg(feature = "SvgAnimatedString")]
32    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", 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/SVGFEBlendElement/in2)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
38    pub fn in2(this: &SvgfeBlendElement) -> SvgAnimatedString;
39    #[cfg(feature = "SvgAnimatedEnumeration")]
40    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", js_name = "mode")]
41    #[doc = "Getter for the `mode` field of this object."]
42    #[doc = ""]
43    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement/mode)"]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeBlendElement`*"]
46    pub fn mode(this: &SvgfeBlendElement) -> SvgAnimatedEnumeration;
47    #[cfg(feature = "SvgAnimatedLength")]
48    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", 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/SVGFEBlendElement/x)"]
52    #[doc = ""]
53    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
54    pub fn x(this: &SvgfeBlendElement) -> SvgAnimatedLength;
55    #[cfg(feature = "SvgAnimatedLength")]
56    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", 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/SVGFEBlendElement/y)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
62    pub fn y(this: &SvgfeBlendElement) -> SvgAnimatedLength;
63    #[cfg(feature = "SvgAnimatedLength")]
64    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", 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/SVGFEBlendElement/width)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
70    pub fn width(this: &SvgfeBlendElement) -> SvgAnimatedLength;
71    #[cfg(feature = "SvgAnimatedLength")]
72    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", 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/SVGFEBlendElement/height)"]
76    #[doc = ""]
77    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeBlendElement`*"]
78    pub fn height(this: &SvgfeBlendElement) -> SvgAnimatedLength;
79    #[cfg(feature = "SvgAnimatedString")]
80    #[wasm_bindgen(method, getter, js_class = "SVGFEBlendElement", 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/SVGFEBlendElement/result)"]
84    #[doc = ""]
85    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeBlendElement`*"]
86    pub fn result(this: &SvgfeBlendElement) -> SvgAnimatedString;
87}
88impl SvgfeBlendElement {
89    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN` const."]
90    #[doc = ""]
91    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
92    pub const SVG_FEBLEND_MODE_UNKNOWN: u16 = 0i64 as u16;
93    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL` const."]
94    #[doc = ""]
95    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
96    pub const SVG_FEBLEND_MODE_NORMAL: u16 = 1u64 as u16;
97    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_MULTIPLY` const."]
98    #[doc = ""]
99    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
100    pub const SVG_FEBLEND_MODE_MULTIPLY: u16 = 2u64 as u16;
101    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SCREEN` const."]
102    #[doc = ""]
103    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
104    pub const SVG_FEBLEND_MODE_SCREEN: u16 = 3u64 as u16;
105    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN` const."]
106    #[doc = ""]
107    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
108    pub const SVG_FEBLEND_MODE_DARKEN: u16 = 4u64 as u16;
109    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN` const."]
110    #[doc = ""]
111    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
112    pub const SVG_FEBLEND_MODE_LIGHTEN: u16 = 5u64 as u16;
113    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_OVERLAY` const."]
114    #[doc = ""]
115    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
116    pub const SVG_FEBLEND_MODE_OVERLAY: u16 = 6u64 as u16;
117    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR_DODGE` const."]
118    #[doc = ""]
119    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
120    pub const SVG_FEBLEND_MODE_COLOR_DODGE: u16 = 7u64 as u16;
121    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR_BURN` const."]
122    #[doc = ""]
123    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
124    pub const SVG_FEBLEND_MODE_COLOR_BURN: u16 = 8u64 as u16;
125    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_HARD_LIGHT` const."]
126    #[doc = ""]
127    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
128    pub const SVG_FEBLEND_MODE_HARD_LIGHT: u16 = 9u64 as u16;
129    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SOFT_LIGHT` const."]
130    #[doc = ""]
131    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
132    pub const SVG_FEBLEND_MODE_SOFT_LIGHT: u16 = 10u64 as u16;
133    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_DIFFERENCE` const."]
134    #[doc = ""]
135    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
136    pub const SVG_FEBLEND_MODE_DIFFERENCE: u16 = 11u64 as u16;
137    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_EXCLUSION` const."]
138    #[doc = ""]
139    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
140    pub const SVG_FEBLEND_MODE_EXCLUSION: u16 = 12u64 as u16;
141    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_HUE` const."]
142    #[doc = ""]
143    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
144    pub const SVG_FEBLEND_MODE_HUE: u16 = 13u64 as u16;
145    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_SATURATION` const."]
146    #[doc = ""]
147    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
148    pub const SVG_FEBLEND_MODE_SATURATION: u16 = 14u64 as u16;
149    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_COLOR` const."]
150    #[doc = ""]
151    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
152    pub const SVG_FEBLEND_MODE_COLOR: u16 = 15u64 as u16;
153    #[doc = "The `SVGFEBlendElement.SVG_FEBLEND_MODE_LUMINOSITY` const."]
154    #[doc = ""]
155    #[doc = "*This API requires the following crate features to be activated: `SvgfeBlendElement`*"]
156    pub const SVG_FEBLEND_MODE_LUMINOSITY: u16 = 16u64 as u16;
157}