API / geotoolkit / svg / SVGParser / SVGParser
Type Aliases
Type Aliases
Ƭ MetaInfo: Object
Object with meta information from the svg tag
| Name | Type | Description |
|---|---|---|
height | number | Numeric height in device |
overflow | string | Overflow property of svg |
viewbox | Rect | Parsed viewBox property |
width | number | Numeric width in device |
Ƭ ParseResult: Object
| Name | Type | Description |
|---|---|---|
bounds | Rect | null | Bounding box of the root group containing all the parsed elements |
viewbox | Rect | null | Viewbox of the svg file |
Ƭ XmlDocument: string | { dpi?: number ; xmldocument?: string }
Input SVG document to parse