jStyleParser is used.
static SVGInfo
static SVGInfo
fromDefinition(File file)
static SVGInfo
fromString(String string)
double
getKStringSVG(double cx, double cy)
getKStringSVG(KStringHTMLImageTag source)
double
getWidth()
boolean
void
setScale(int cx, int cy)
void
file
- The file.string
- The string containing the SVG definition.IOException
- For read errors.SAXException
- For SAX parsing errors.def
- The SVG definition.def
- The definition.cx
- The requested width.cy
- The requested height.source
- The source KString tag.cx
- Requested scaled width if larger than zero.cy
- Requested scaled height if larger than zero.null
for failure.