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 classSVGParser.Mode -
Field Summary
-
Constructor Summary
Constructors Constructor Description SVGParser() -
Method Summary
Modifier and Type Method Description SVGPath[]getPaths()static booleanisSVGFile(java.io.File file)static booleanisSVGFileName(java.lang.String file_name)voidparse(java.io.InputStream input_Stream)protected voidparseClass(SVGPath path, java.lang.String data)protected voidparseFill(SVGPath path, java.lang.String fill)protected SVGPathparsePathData(SVGPath path, java.lang.String data)protected SVGStyleparseStyle(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
-