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