1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPatternElement , typescript_type = "SVGPatternElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgPatternElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgPatternElement`*"] 13 pub type SvgPatternElement; 14 #[cfg(feature = "SvgAnimatedEnumeration")] 15 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = patternUnits)] 16 #[doc = "Getter for the `patternUnits` field of this object."] 17 #[doc = ""] 18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternUnits)"] 19 #[doc = ""] 20 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*"] 21 pub fn pattern_units(this: &SvgPatternElement) -> SvgAnimatedEnumeration; 22 #[cfg(feature = "SvgAnimatedEnumeration")] 23 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = patternContentUnits)] 24 #[doc = "Getter for the `patternContentUnits` field of this object."] 25 #[doc = ""] 26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternContentUnits)"] 27 #[doc = ""] 28 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgPatternElement`*"] 29 pub fn pattern_content_units(this: &SvgPatternElement) -> SvgAnimatedEnumeration; 30 #[cfg(feature = "SvgAnimatedTransformList")] 31 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = patternTransform)] 32 #[doc = "Getter for the `patternTransform` field of this object."] 33 #[doc = ""] 34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/patternTransform)"] 35 #[doc = ""] 36 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedTransformList`, `SvgPatternElement`*"] 37 pub fn pattern_transform(this: &SvgPatternElement) -> SvgAnimatedTransformList; 38 #[cfg(feature = "SvgAnimatedLength")] 39 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = x)] 40 #[doc = "Getter for the `x` field of this object."] 41 #[doc = ""] 42 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/x)"] 43 #[doc = ""] 44 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"] 45 pub fn x(this: &SvgPatternElement) -> SvgAnimatedLength; 46 #[cfg(feature = "SvgAnimatedLength")] 47 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = y)] 48 #[doc = "Getter for the `y` field of this object."] 49 #[doc = ""] 50 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/y)"] 51 #[doc = ""] 52 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"] 53 pub fn y(this: &SvgPatternElement) -> SvgAnimatedLength; 54 #[cfg(feature = "SvgAnimatedLength")] 55 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = width)] 56 #[doc = "Getter for the `width` field of this object."] 57 #[doc = ""] 58 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/width)"] 59 #[doc = ""] 60 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"] 61 pub fn width(this: &SvgPatternElement) -> SvgAnimatedLength; 62 #[cfg(feature = "SvgAnimatedLength")] 63 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = height)] 64 #[doc = "Getter for the `height` field of this object."] 65 #[doc = ""] 66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/height)"] 67 #[doc = ""] 68 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgPatternElement`*"] 69 pub fn height(this: &SvgPatternElement) -> SvgAnimatedLength; 70 #[cfg(feature = "SvgAnimatedRect")] 71 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = viewBox)] 72 #[doc = "Getter for the `viewBox` field of this object."] 73 #[doc = ""] 74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/viewBox)"] 75 #[doc = ""] 76 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgPatternElement`*"] 77 pub fn view_box(this: &SvgPatternElement) -> SvgAnimatedRect; 78 #[cfg(feature = "SvgAnimatedPreserveAspectRatio")] 79 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = preserveAspectRatio)] 80 #[doc = "Getter for the `preserveAspectRatio` field of this object."] 81 #[doc = ""] 82 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/preserveAspectRatio)"] 83 #[doc = ""] 84 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgPatternElement`*"] 85 pub fn preserve_aspect_ratio(this: &SvgPatternElement) -> SvgAnimatedPreserveAspectRatio; 86 #[cfg(feature = "SvgAnimatedString")] 87 # [wasm_bindgen (structural , method , getter , js_class = "SVGPatternElement" , js_name = href)] 88 #[doc = "Getter for the `href` field of this object."] 89 #[doc = ""] 90 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement/href)"] 91 #[doc = ""] 92 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgPatternElement`*"] 93 pub fn href(this: &SvgPatternElement) -> SvgAnimatedString; 94 } 95