public class SVGParser extends Object
Constructor and Description |
---|
SVGParser() |
Modifier and Type | Method and Description |
---|---|
static String[] |
colorNames()
Return a list of basic color names that are understood.
|
static PaintedList |
createPaintedList(XmlElement root) |
static PaintedObject |
createPaintedObject(String type,
Map attributes)
Create a new painted object.
|
static PaintedObject |
createPaintedObject(String type,
Map attributes,
String content)
Create a new painted object.
|
static PaintedObject |
createPaintedObject(String type,
String attributes,
String content)
Create a new painted object.
|
static void |
hashAttributes(String s,
Map map)
Given a XML-style attribute string and a hash-table, add
each attribute and its value to the table.
|
public static String[] colorNames()
public static PaintedObject createPaintedObject(String type, String attributes, String content)
public static PaintedObject createPaintedObject(String type, Map attributes, String content)
public static PaintedObject createPaintedObject(String type, Map attributes)
public static void hashAttributes(String s, Map map)
FIXME: this sucks.
public static PaintedList createPaintedList(XmlElement root)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.