|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.toolbox.SVGUtilities
public class SVGUtilities
A collection of utility functions to aid in figures from SVG, the Scalable Vector Graphics language. For a description of SVG see the specification.
Constructor Summary | |
---|---|
SVGUtilities()
|
Method Summary | |
---|---|
static Iterator |
colorNames()
Get an iterator over the known color names |
static Color |
getColor(String name)
Given a string representing a color, return a color that represents it. |
static double[] |
parseCoordString(String s)
Parse a string of numbers into an array of double. |
static Map |
parseStyleString(String style)
Given a style string, parse it into a map of elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVGUtilities()
Method Detail |
---|
public static Iterator colorNames()
public static Color getColor(String name)
public static Map parseStyleString(String style)
public static double[] parseCoordString(String s)
FIXME this is not correct
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |