JGraph
v5.13.0.4


com.jgraph.io.svg
Class SVGVertexWriter

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

public class SVGVertexWriter
extends java.lang.Object


Field Summary
static java.lang.String HEXCOLOR_SHADOW
          Represents the shadow color hex encoding.
static int SHADOW_DISTANCE
          Represents the shadow distance.
static double SHADOW_OPACITY
          Represents the shadow opacity.
 
Constructor Summary
SVGVertexWriter()
           
 
Method Summary
 org.w3c.dom.Node createNode(SVGGraphWriter writer, org.w3c.dom.Document document, GraphLayoutCache cache, CellView view, double dx, double dy)
          Returns the SVG representation of the specified node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEXCOLOR_SHADOW

public static java.lang.String HEXCOLOR_SHADOW
Represents the shadow color hex encoding.


SHADOW_OPACITY

public static double SHADOW_OPACITY
Represents the shadow opacity.


SHADOW_DISTANCE

public static int SHADOW_DISTANCE
Represents the shadow distance.

Constructor Detail

SVGVertexWriter

public SVGVertexWriter()
Method Detail

createNode

public org.w3c.dom.Node createNode(SVGGraphWriter writer,
                                   org.w3c.dom.Document document,
                                   GraphLayoutCache cache,
                                   CellView view,
                                   double dx,
                                   double dy)
Returns the SVG representation of the specified node.

Parameters:
writer -
document -
cache -
view -
dx -
dy -
Returns:
an XML node describing the specified node

JGraph
v5.13.0.4


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