web_sys/features/
gen_SvgfeOffsetElement.rs1#![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 = "SVGFEOffsetElement",
14 typescript_type = "SVGFEOffsetElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgfeOffsetElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgfeOffsetElement`*"]
22 pub type SvgfeOffsetElement;
23 #[cfg(feature = "SvgAnimatedString")]
24 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "in1")]
25 #[doc = "Getter for the `in1` field of this object."]
26 #[doc = ""]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/in1)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*"]
30 pub fn in1(this: &SvgfeOffsetElement) -> SvgAnimatedString;
31 #[cfg(feature = "SvgAnimatedNumber")]
32 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "dx")]
33 #[doc = "Getter for the `dx` field of this object."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dx)"]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*"]
38 pub fn dx(this: &SvgfeOffsetElement) -> SvgAnimatedNumber;
39 #[cfg(feature = "SvgAnimatedNumber")]
40 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "dy")]
41 #[doc = "Getter for the `dy` field of this object."]
42 #[doc = ""]
43 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/dy)"]
44 #[doc = ""]
45 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeOffsetElement`*"]
46 pub fn dy(this: &SvgfeOffsetElement) -> SvgAnimatedNumber;
47 #[cfg(feature = "SvgAnimatedLength")]
48 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "x")]
49 #[doc = "Getter for the `x` field of this object."]
50 #[doc = ""]
51 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/x)"]
52 #[doc = ""]
53 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
54 pub fn x(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
55 #[cfg(feature = "SvgAnimatedLength")]
56 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "y")]
57 #[doc = "Getter for the `y` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/y)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
62 pub fn y(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
63 #[cfg(feature = "SvgAnimatedLength")]
64 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "width")]
65 #[doc = "Getter for the `width` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/width)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
70 pub fn width(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
71 #[cfg(feature = "SvgAnimatedLength")]
72 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "height")]
73 #[doc = "Getter for the `height` field of this object."]
74 #[doc = ""]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/height)"]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgfeOffsetElement`*"]
78 pub fn height(this: &SvgfeOffsetElement) -> SvgAnimatedLength;
79 #[cfg(feature = "SvgAnimatedString")]
80 #[wasm_bindgen(method, getter, js_class = "SVGFEOffsetElement", js_name = "result")]
81 #[doc = "Getter for the `result` field of this object."]
82 #[doc = ""]
83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement/result)"]
84 #[doc = ""]
85 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgfeOffsetElement`*"]
86 pub fn result(this: &SvgfeOffsetElement) -> SvgAnimatedString;
87}