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