com.jgraph.io.svg

Class SVGVertexWriter

public class SVGVertexWriter extends Object

Field Summary
static StringHEXCOLOR_SHADOW
Represents the shadow color hex encoding.
static intSHADOW_DISTANCE
Represents the shadow distance.
static doubleSHADOW_OPACITY
Represents the shadow opacity.
Method Summary
NodecreateNode(SVGGraphWriter writer, Document document, GraphLayoutCache cache, CellView view, double dx, double dy)
Returns the SVG representation of the specified node.

Field Detail

HEXCOLOR_SHADOW

public static String HEXCOLOR_SHADOW
Represents the shadow color hex encoding.

SHADOW_DISTANCE

public static int SHADOW_DISTANCE
Represents the shadow distance.

SHADOW_OPACITY

public static double SHADOW_OPACITY
Represents the shadow opacity.

Method Detail

createNode

public Node createNode(SVGGraphWriter writer, 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

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