maxcountryman_web_sys/features/
gen_SvgfeColorMatrixElement.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 = SVGFEColorMatrixElement , typescript_type = "SVGFEColorMatrixElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `SvgfeColorMatrixElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
13    pub type SvgfeColorMatrixElement;
14    #[cfg(feature = "SvgAnimatedString")]
15    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , 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/SVGFEColorMatrixElement/in1)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*"]
21    pub fn in1(this: &SvgfeColorMatrixElement) -> SvgAnimatedString;
22    #[cfg(feature = "SvgAnimatedEnumeration")]
23    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = type)]
24    #[doc = "Getter for the `type` field of this object."]
25    #[doc = ""]
26    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/type)"]
27    #[doc = ""]
28    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeColorMatrixElement`*"]
29    pub fn type_(this: &SvgfeColorMatrixElement) -> SvgAnimatedEnumeration;
30    #[cfg(feature = "SvgAnimatedNumberList")]
31    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , js_name = values)]
32    #[doc = "Getter for the `values` field of this object."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/values)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeColorMatrixElement`*"]
37    pub fn values(this: &SvgfeColorMatrixElement) -> SvgAnimatedNumberList;
38    #[cfg(feature = "SvgAnimatedLength")]
39    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , 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/SVGFEColorMatrixElement/x)"]
43    #[doc = ""]
44    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
45    pub fn x(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
46    #[cfg(feature = "SvgAnimatedLength")]
47    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , 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/SVGFEColorMatrixElement/y)"]
51    #[doc = ""]
52    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
53    pub fn y(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
54    #[cfg(feature = "SvgAnimatedLength")]
55    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , 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/SVGFEColorMatrixElement/width)"]
59    #[doc = ""]
60    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
61    pub fn width(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
62    #[cfg(feature = "SvgAnimatedLength")]
63    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , 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/SVGFEColorMatrixElement/height)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
69    pub fn height(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
70    #[cfg(feature = "SvgAnimatedString")]
71    # [wasm_bindgen (structural , method , getter , js_class = "SVGFEColorMatrixElement" , 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/SVGFEColorMatrixElement/result)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*"]
77    pub fn result(this: &SvgfeColorMatrixElement) -> SvgAnimatedString;
78}
79impl SvgfeColorMatrixElement {
80    #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN` const."]
81    #[doc = ""]
82    #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
83    pub const SVG_FECOLORMATRIX_TYPE_UNKNOWN: u16 = 0i64 as u16;
84    #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX` const."]
85    #[doc = ""]
86    #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
87    pub const SVG_FECOLORMATRIX_TYPE_MATRIX: u16 = 1u64 as u16;
88    #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE` const."]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
91    pub const SVG_FECOLORMATRIX_TYPE_SATURATE: u16 = 2u64 as u16;
92    #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE` const."]
93    #[doc = ""]
94    #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
95    pub const SVG_FECOLORMATRIX_TYPE_HUEROTATE: u16 = 3u64 as u16;
96    #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA` const."]
97    #[doc = ""]
98    #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
99    pub const SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: u16 = 4u64 as u16;
100}