web_sys/features/
gen_SvgfeSpecularLightingElement.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 = "SVGFESpecularLightingElement",
14 typescript_type = "SVGFESpecularLightingElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgfeSpecularLightingElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgfeSpecularLightingElement`*"]
22 pub type SvgfeSpecularLightingElement;
23 #[cfg(feature = "SvgAnimatedString")]
24 #[wasm_bindgen(
25 method,
26 getter,
27 js_class = "SVGFESpecularLightingElement",
28 js_name = "in1"
29 )]
30 #[doc = "Getter for the `in1` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/in1)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*"]
35 pub fn in1(this: &SvgfeSpecularLightingElement) -> SvgAnimatedString;
36 #[cfg(feature = "SvgAnimatedNumber")]
37 #[wasm_bindgen(
38 method,
39 getter,
40 js_class = "SVGFESpecularLightingElement",
41 js_name = "surfaceScale"
42 )]
43 #[doc = "Getter for the `surfaceScale` field of this object."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/surfaceScale)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
48 pub fn surface_scale(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
49 #[cfg(feature = "SvgAnimatedNumber")]
50 #[wasm_bindgen(
51 method,
52 getter,
53 js_class = "SVGFESpecularLightingElement",
54 js_name = "specularConstant"
55 )]
56 #[doc = "Getter for the `specularConstant` field of this object."]
57 #[doc = ""]
58 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularConstant)"]
59 #[doc = ""]
60 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
61 pub fn specular_constant(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
62 #[cfg(feature = "SvgAnimatedNumber")]
63 #[wasm_bindgen(
64 method,
65 getter,
66 js_class = "SVGFESpecularLightingElement",
67 js_name = "specularExponent"
68 )]
69 #[doc = "Getter for the `specularExponent` field of this object."]
70 #[doc = ""]
71 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/specularExponent)"]
72 #[doc = ""]
73 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
74 pub fn specular_exponent(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
75 #[cfg(feature = "SvgAnimatedNumber")]
76 #[wasm_bindgen(
77 method,
78 getter,
79 js_class = "SVGFESpecularLightingElement",
80 js_name = "kernelUnitLengthX"
81 )]
82 #[doc = "Getter for the `kernelUnitLengthX` field of this object."]
83 #[doc = ""]
84 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX)"]
85 #[doc = ""]
86 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
87 pub fn kernel_unit_length_x(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
88 #[cfg(feature = "SvgAnimatedNumber")]
89 #[wasm_bindgen(
90 method,
91 getter,
92 js_class = "SVGFESpecularLightingElement",
93 js_name = "kernelUnitLengthY"
94 )]
95 #[doc = "Getter for the `kernelUnitLengthY` field of this object."]
96 #[doc = ""]
97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY)"]
98 #[doc = ""]
99 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpecularLightingElement`*"]
100 pub fn kernel_unit_length_y(this: &SvgfeSpecularLightingElement) -> SvgAnimatedNumber;
101 #[cfg(feature = "SvgAnimatedLength")]
102 #[wasm_bindgen(
103 method,
104 getter,
105 js_class = "SVGFESpecularLightingElement",
106 js_name = "x"
107 )]
108 #[doc = "Getter for the `x` field of this object."]
109 #[doc = ""]
110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/x)"]
111 #[doc = ""]
112 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
113 pub fn x(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
114 #[cfg(feature = "SvgAnimatedLength")]
115 #[wasm_bindgen(
116 method,
117 getter,
118 js_class = "SVGFESpecularLightingElement",
119 js_name = "y"
120 )]
121 #[doc = "Getter for the `y` field of this object."]
122 #[doc = ""]
123 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/y)"]
124 #[doc = ""]
125 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
126 pub fn y(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
127 #[cfg(feature = "SvgAnimatedLength")]
128 #[wasm_bindgen(
129 method,
130 getter,
131 js_class = "SVGFESpecularLightingElement",
132 js_name = "width"
133 )]
134 #[doc = "Getter for the `width` field of this object."]
135 #[doc = ""]
136 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/width)"]
137 #[doc = ""]
138 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
139 pub fn width(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
140 #[cfg(feature = "SvgAnimatedLength")]
141 #[wasm_bindgen(
142 method,
143 getter,
144 js_class = "SVGFESpecularLightingElement",
145 js_name = "height"
146 )]
147 #[doc = "Getter for the `height` field of this object."]
148 #[doc = ""]
149 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/height)"]
150 #[doc = ""]
151 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeSpecularLightingElement`*"]
152 pub fn height(this: &SvgfeSpecularLightingElement) -> SvgAnimatedLength;
153 #[cfg(feature = "SvgAnimatedString")]
154 #[wasm_bindgen(
155 method,
156 getter,
157 js_class = "SVGFESpecularLightingElement",
158 js_name = "result"
159 )]
160 #[doc = "Getter for the `result` field of this object."]
161 #[doc = ""]
162 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement/result)"]
163 #[doc = ""]
164 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeSpecularLightingElement`*"]
165 pub fn result(this: &SvgfeSpecularLightingElement) -> SvgAnimatedString;
166}