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