web_sys/features/
gen_SvgClipPathElement.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 = "SVGClipPathElement",
14 typescript_type = "SVGClipPathElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgClipPathElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgClipPathElement`*"]
22 pub type SvgClipPathElement;
23 #[cfg(feature = "SvgAnimatedEnumeration")]
24 #[wasm_bindgen(
25 method,
26 getter,
27 js_class = "SVGClipPathElement",
28 js_name = "clipPathUnits"
29 )]
30 #[doc = "Getter for the `clipPathUnits` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/clipPathUnits)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgClipPathElement`*"]
35 pub fn clip_path_units(this: &SvgClipPathElement) -> SvgAnimatedEnumeration;
36 #[cfg(feature = "SvgAnimatedTransformList")]
37 #[wasm_bindgen(method, getter, js_class = "SVGClipPathElement", js_name = "transform")]
38 #[doc = "Getter for the `transform` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement/transform)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgClipPathElement`*"]
43 pub fn transform(this: &SvgClipPathElement) -> SvgAnimatedTransformList;
44}