Skip to main content

web_sys/features/
gen_SvgfeSpotLightElement.rs

1#![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 = "SVGFESpotLightElement",
14        typescript_type = "SVGFESpotLightElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgfeSpotLightElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgfeSpotLightElement`*"]
22    pub type SvgfeSpotLightElement;
23    #[cfg(feature = "SvgAnimatedNumber")]
24    #[wasm_bindgen(method, getter, js_class = "SVGFESpotLightElement", js_name = "x")]
25    #[doc = "Getter for the `x` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/x)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
30    pub fn x(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
31    #[cfg(feature = "SvgAnimatedNumber")]
32    #[wasm_bindgen(method, getter, js_class = "SVGFESpotLightElement", js_name = "y")]
33    #[doc = "Getter for the `y` field of this object."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/y)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
38    pub fn y(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
39    #[cfg(feature = "SvgAnimatedNumber")]
40    #[wasm_bindgen(method, getter, js_class = "SVGFESpotLightElement", js_name = "z")]
41    #[doc = "Getter for the `z` field of this object."]
42    #[doc = ""]
43    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/z)"]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
46    pub fn z(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
47    #[cfg(feature = "SvgAnimatedNumber")]
48    #[wasm_bindgen(
49        method,
50        getter,
51        js_class = "SVGFESpotLightElement",
52        js_name = "pointsAtX"
53    )]
54    #[doc = "Getter for the `pointsAtX` field of this object."]
55    #[doc = ""]
56    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtX)"]
57    #[doc = ""]
58    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
59    pub fn points_at_x(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
60    #[cfg(feature = "SvgAnimatedNumber")]
61    #[wasm_bindgen(
62        method,
63        getter,
64        js_class = "SVGFESpotLightElement",
65        js_name = "pointsAtY"
66    )]
67    #[doc = "Getter for the `pointsAtY` field of this object."]
68    #[doc = ""]
69    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtY)"]
70    #[doc = ""]
71    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
72    pub fn points_at_y(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
73    #[cfg(feature = "SvgAnimatedNumber")]
74    #[wasm_bindgen(
75        method,
76        getter,
77        js_class = "SVGFESpotLightElement",
78        js_name = "pointsAtZ"
79    )]
80    #[doc = "Getter for the `pointsAtZ` field of this object."]
81    #[doc = ""]
82    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtZ)"]
83    #[doc = ""]
84    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
85    pub fn points_at_z(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
86    #[cfg(feature = "SvgAnimatedNumber")]
87    #[wasm_bindgen(
88        method,
89        getter,
90        js_class = "SVGFESpotLightElement",
91        js_name = "specularExponent"
92    )]
93    #[doc = "Getter for the `specularExponent` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/specularExponent)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
98    pub fn specular_exponent(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
99    #[cfg(feature = "SvgAnimatedNumber")]
100    #[wasm_bindgen(
101        method,
102        getter,
103        js_class = "SVGFESpotLightElement",
104        js_name = "limitingConeAngle"
105    )]
106    #[doc = "Getter for the `limitingConeAngle` field of this object."]
107    #[doc = ""]
108    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/limitingConeAngle)"]
109    #[doc = ""]
110    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
111    pub fn limiting_cone_angle(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
112}