Package mgui.io.standard.xml.svg
Class SVGParser
java.lang.Object
mgui.io.standard.xml.svg.SVGParser
public class SVGParser
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SVGParser.Mode
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SVGParser()
-
Method Summary
Modifier and Type Method Description SVGPath[]
getPaths()
static boolean
isSVGFile(java.io.File file)
static boolean
isSVGFileName(java.lang.String file_name)
void
parse(java.io.InputStream input_Stream)
protected void
parseClass(SVGPath path, java.lang.String data)
protected void
parseFill(SVGPath path, java.lang.String fill)
protected SVGPath
parsePathData(SVGPath path, java.lang.String data)
protected SVGStyle
parseStyle(SVGStyle style, java.lang.String data)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ext
public static final java.lang.String ext- See Also:
- Constant Field Values
-
paths
protected java.util.ArrayList paths -
svg_style
-
-
Constructor Details
-
SVGParser
public SVGParser()
-
-
Method Details
-
isSVGFile
public static boolean isSVGFile(java.io.File file) -
isSVGFileName
public static boolean isSVGFileName(java.lang.String file_name) -
parse
public void parse(java.io.InputStream input_Stream) -
getPaths
-
parseStyle
-
parseFill
-
parsePathData
-
parseClass
-