JGraph
v5.13.0.4


com.jgraph.io.svg
Class SVGUtils

java.lang.Object
  extended by com.jgraph.io.svg.SVGUtils

public class SVGUtils
extends java.lang.Object

Various utility methods to assist producing an SVG representation of the graph


Field Summary
static java.lang.String HEXCOLOR_BLACK
          Represents the black color hex encoding.
static java.lang.String HEXCOLOR_WHITE
          Represents the white color hex encoding.
static int LINESPACING
          Global linespacing.
 
Constructor Summary
SVGUtils()
           
 
Method Summary
static java.lang.String getHexEncoding(java.awt.Color color)
          Returns the hex encoding for the specified color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINESPACING

public static int LINESPACING
Global linespacing.


HEXCOLOR_BLACK

public static java.lang.String HEXCOLOR_BLACK
Represents the black color hex encoding.


HEXCOLOR_WHITE

public static java.lang.String HEXCOLOR_WHITE
Represents the white color hex encoding.

Constructor Detail

SVGUtils

public SVGUtils()
Method Detail

getHexEncoding

public static java.lang.String getHexEncoding(java.awt.Color color)
Returns the hex encoding for the specified color.


JGraph
v5.13.0.4


Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.