web_sys/features/
gen_SvgfeColorMatrixElement.rs1#![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 = "SVGFEColorMatrixElement",
14 typescript_type = "SVGFEColorMatrixElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgfeColorMatrixElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
22 pub type SvgfeColorMatrixElement;
23 #[cfg(feature = "SvgAnimatedString")]
24 #[wasm_bindgen(method, getter, js_class = "SVGFEColorMatrixElement", 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/SVGFEColorMatrixElement/in1)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*"]
30 pub fn in1(this: &SvgfeColorMatrixElement) -> SvgAnimatedString;
31 #[cfg(feature = "SvgAnimatedEnumeration")]
32 #[wasm_bindgen(method, getter, js_class = "SVGFEColorMatrixElement", js_name = "type")]
33 #[doc = "Getter for the `type` field of this object."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/type)"]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgfeColorMatrixElement`*"]
38 pub fn type_(this: &SvgfeColorMatrixElement) -> SvgAnimatedEnumeration;
39 #[cfg(feature = "SvgAnimatedNumberList")]
40 #[wasm_bindgen(
41 method,
42 getter,
43 js_class = "SVGFEColorMatrixElement",
44 js_name = "values"
45 )]
46 #[doc = "Getter for the `values` field of this object."]
47 #[doc = ""]
48 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/values)"]
49 #[doc = ""]
50 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgfeColorMatrixElement`*"]
51 pub fn values(this: &SvgfeColorMatrixElement) -> SvgAnimatedNumberList;
52 #[cfg(feature = "SvgAnimatedLength")]
53 #[wasm_bindgen(method, getter, js_class = "SVGFEColorMatrixElement", js_name = "x")]
54 #[doc = "Getter for the `x` field of this object."]
55 #[doc = ""]
56 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/x)"]
57 #[doc = ""]
58 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
59 pub fn x(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
60 #[cfg(feature = "SvgAnimatedLength")]
61 #[wasm_bindgen(method, getter, js_class = "SVGFEColorMatrixElement", js_name = "y")]
62 #[doc = "Getter for the `y` field of this object."]
63 #[doc = ""]
64 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/y)"]
65 #[doc = ""]
66 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
67 pub fn y(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
68 #[cfg(feature = "SvgAnimatedLength")]
69 #[wasm_bindgen(
70 method,
71 getter,
72 js_class = "SVGFEColorMatrixElement",
73 js_name = "width"
74 )]
75 #[doc = "Getter for the `width` field of this object."]
76 #[doc = ""]
77 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/width)"]
78 #[doc = ""]
79 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
80 pub fn width(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
81 #[cfg(feature = "SvgAnimatedLength")]
82 #[wasm_bindgen(
83 method,
84 getter,
85 js_class = "SVGFEColorMatrixElement",
86 js_name = "height"
87 )]
88 #[doc = "Getter for the `height` field of this object."]
89 #[doc = ""]
90 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/height)"]
91 #[doc = ""]
92 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeColorMatrixElement`*"]
93 pub fn height(this: &SvgfeColorMatrixElement) -> SvgAnimatedLength;
94 #[cfg(feature = "SvgAnimatedString")]
95 #[wasm_bindgen(
96 method,
97 getter,
98 js_class = "SVGFEColorMatrixElement",
99 js_name = "result"
100 )]
101 #[doc = "Getter for the `result` field of this object."]
102 #[doc = ""]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement/result)"]
104 #[doc = ""]
105 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeColorMatrixElement`*"]
106 pub fn result(this: &SvgfeColorMatrixElement) -> SvgAnimatedString;
107}
108impl SvgfeColorMatrixElement {
109 #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN` const."]
110 #[doc = ""]
111 #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
112 pub const SVG_FECOLORMATRIX_TYPE_UNKNOWN: u16 = 0i64 as u16;
113 #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX` const."]
114 #[doc = ""]
115 #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
116 pub const SVG_FECOLORMATRIX_TYPE_MATRIX: u16 = 1u64 as u16;
117 #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE` const."]
118 #[doc = ""]
119 #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
120 pub const SVG_FECOLORMATRIX_TYPE_SATURATE: u16 = 2u64 as u16;
121 #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE` const."]
122 #[doc = ""]
123 #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
124 pub const SVG_FECOLORMATRIX_TYPE_HUEROTATE: u16 = 3u64 as u16;
125 #[doc = "The `SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA` const."]
126 #[doc = ""]
127 #[doc = "*This API requires the following crate features to be activated: `SvgfeColorMatrixElement`*"]
128 pub const SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: u16 = 4u64 as u16;
129}