maxcountryman_web_sys/features/
gen_SvgfeSpotLightElement.rs

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