Last updated

API / geotoolkit / svg / SVGParser / SVGParser

Namespace: SVGParser

svg.SVGParser.SVGParser

Table of contents

Type Aliases

Contents

Type Aliases

MetaInfo

Ƭ MetaInfo: Object

Object with meta information from the svg tag

Type declaration

NameTypeDescription
heightnumberNumeric height in device
overflowstringOverflow property of svg
viewboxRectParsed viewBox property
widthnumberNumeric width in device

ParseResult

Ƭ ParseResult: Object

Type declaration

NameTypeDescription
boundsRect | nullBounding box of the root group containing all the parsed elements
viewboxRect | nullViewbox of the svg file

XmlDocument

Ƭ XmlDocument: string | { dpi?: number ; xmldocument?: string }

Input SVG document to parse