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 (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGFESpotLightElement , typescript_type = "SVGFESpotLightElement")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `SvgfeSpotLightElement` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `SvgfeSpotLightElement`*"]
14    pub type SvgfeSpotLightElement;
15    #[cfg(feature = "SvgAnimatedNumber")]
16    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = x)]
17    #[doc = "Getter for the `x` field of this object."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/x)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
22    pub fn x(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
23    #[cfg(feature = "SvgAnimatedNumber")]
24    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = y)]
25    #[doc = "Getter for the `y` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/y)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
30    pub fn y(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
31    #[cfg(feature = "SvgAnimatedNumber")]
32    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = z)]
33    #[doc = "Getter for the `z` field of this object."]
34    #[doc = ""]
35    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/z)"]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
38    pub fn z(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
39    #[cfg(feature = "SvgAnimatedNumber")]
40    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = pointsAtX)]
41    #[doc = "Getter for the `pointsAtX` field of this object."]
42    #[doc = ""]
43    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtX)"]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
46    pub fn points_at_x(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
47    #[cfg(feature = "SvgAnimatedNumber")]
48    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = pointsAtY)]
49    #[doc = "Getter for the `pointsAtY` field of this object."]
50    #[doc = ""]
51    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtY)"]
52    #[doc = ""]
53    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
54    pub fn points_at_y(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
55    #[cfg(feature = "SvgAnimatedNumber")]
56    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = pointsAtZ)]
57    #[doc = "Getter for the `pointsAtZ` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/pointsAtZ)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
62    pub fn points_at_z(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
63    #[cfg(feature = "SvgAnimatedNumber")]
64    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = specularExponent)]
65    #[doc = "Getter for the `specularExponent` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/specularExponent)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
70    pub fn specular_exponent(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
71    #[cfg(feature = "SvgAnimatedNumber")]
72    # [wasm_bindgen (structural , method , getter , js_class = "SVGFESpotLightElement" , js_name = limitingConeAngle)]
73    #[doc = "Getter for the `limitingConeAngle` field of this object."]
74    #[doc = ""]
75    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement/limitingConeAngle)"]
76    #[doc = ""]
77    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeSpotLightElement`*"]
78    pub fn limiting_cone_angle(this: &SvgfeSpotLightElement) -> SvgAnimatedNumber;
79}