maxcountryman_web_sys/features/
gen_SvgComponentTransferFunctionElement.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 = SVGComponentTransferFunctionElement , typescript_type = "SVGComponentTransferFunctionElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `SvgComponentTransferFunctionElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
13    pub type SvgComponentTransferFunctionElement;
14    #[cfg(feature = "SvgAnimatedEnumeration")]
15    # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = type)]
16    #[doc = "Getter for the `type` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/type)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgComponentTransferFunctionElement`*"]
21    pub fn type_(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedEnumeration;
22    #[cfg(feature = "SvgAnimatedNumberList")]
23    # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = tableValues)]
24    #[doc = "Getter for the `tableValues` field of this object."]
25    #[doc = ""]
26    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/tableValues)"]
27    #[doc = ""]
28    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgComponentTransferFunctionElement`*"]
29    pub fn table_values(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumberList;
30    #[cfg(feature = "SvgAnimatedNumber")]
31    # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = slope)]
32    #[doc = "Getter for the `slope` field of this object."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/slope)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
37    pub fn slope(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
38    #[cfg(feature = "SvgAnimatedNumber")]
39    # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = intercept)]
40    #[doc = "Getter for the `intercept` field of this object."]
41    #[doc = ""]
42    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/intercept)"]
43    #[doc = ""]
44    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
45    pub fn intercept(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
46    #[cfg(feature = "SvgAnimatedNumber")]
47    # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = amplitude)]
48    #[doc = "Getter for the `amplitude` field of this object."]
49    #[doc = ""]
50    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/amplitude)"]
51    #[doc = ""]
52    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
53    pub fn amplitude(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
54    #[cfg(feature = "SvgAnimatedNumber")]
55    # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = exponent)]
56    #[doc = "Getter for the `exponent` field of this object."]
57    #[doc = ""]
58    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/exponent)"]
59    #[doc = ""]
60    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
61    pub fn exponent(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
62    #[cfg(feature = "SvgAnimatedNumber")]
63    # [wasm_bindgen (structural , method , getter , js_class = "SVGComponentTransferFunctionElement" , js_name = offset)]
64    #[doc = "Getter for the `offset` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGComponentTransferFunctionElement/offset)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgComponentTransferFunctionElement`*"]
69    pub fn offset(this: &SvgComponentTransferFunctionElement) -> SvgAnimatedNumber;
70}
71impl SvgComponentTransferFunctionElement {
72    #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN` const."]
73    #[doc = ""]
74    #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
75    pub const SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: u16 = 0i64 as u16;
76    #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY` const."]
77    #[doc = ""]
78    #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
79    pub const SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: u16 = 1u64 as u16;
80    #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_TABLE` const."]
81    #[doc = ""]
82    #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
83    pub const SVG_FECOMPONENTTRANSFER_TYPE_TABLE: u16 = 2u64 as u16;
84    #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE` const."]
85    #[doc = ""]
86    #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
87    pub const SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: u16 = 3u64 as u16;
88    #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_LINEAR` const."]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
91    pub const SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: u16 = 4u64 as u16;
92    #[doc = "The `SVGComponentTransferFunctionElement.SVG_FECOMPONENTTRANSFER_TYPE_GAMMA` const."]
93    #[doc = ""]
94    #[doc = "*This API requires the following crate features to be activated: `SvgComponentTransferFunctionElement`*"]
95    pub const SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: u16 = 5u64 as u16;
96}