1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = SvgGeometryElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGPolygonElement , typescript_type = "SVGPolygonElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgPolygonElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgPolygonElement`*"] 13 pub type SvgPolygonElement; 14 #[cfg(feature = "SvgPointList")] 15 # [wasm_bindgen (structural , method , getter , js_class = "SVGPolygonElement" , js_name = points)] 16 #[doc = "Getter for the `points` field of this object."] 17 #[doc = ""] 18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/points)"] 19 #[doc = ""] 20 #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*"] points(this: &SvgPolygonElement) -> SvgPointList21 pub fn points(this: &SvgPolygonElement) -> SvgPointList; 22 #[cfg(feature = "SvgPointList")] 23 # [wasm_bindgen (structural , method , getter , js_class = "SVGPolygonElement" , js_name = animatedPoints)] 24 #[doc = "Getter for the `animatedPoints` field of this object."] 25 #[doc = ""] 26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement/animatedPoints)"] 27 #[doc = ""] 28 #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolygonElement`*"] animated_points(this: &SvgPolygonElement) -> SvgPointList29 pub fn animated_points(this: &SvgPolygonElement) -> SvgPointList; 30 } 31