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