com.jgraph.io.svg

Class SVGUtils

public class SVGUtils extends Object

Various utility methods to assist producing an SVG representation of the graph
Field Summary
static StringHEXCOLOR_BLACK
Represents the black color hex encoding.
static StringHEXCOLOR_WHITE
Represents the white color hex encoding.
static intLINESPACING
Global linespacing.
Method Summary
static StringgetHexEncoding(Color color)
Returns the hex encoding for the specified color.

Field Detail

HEXCOLOR_BLACK

public static String HEXCOLOR_BLACK
Represents the black color hex encoding.

HEXCOLOR_WHITE

public static String HEXCOLOR_WHITE
Represents the white color hex encoding.

LINESPACING

public static int LINESPACING
Global linespacing.

Method Detail

getHexEncoding

public static String getHexEncoding(Color color)
Returns the hex encoding for the specified color.
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.