Class SVGVertexWriter
java.lang.Object
com.jgraph.io.svg.SVGVertexWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringRepresents the shadow color hex encoding.static intRepresents the shadow distance.static doubleRepresents the shadow opacity. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNode(SVGGraphWriter writer, Document document, GraphLayoutCache cache, CellView view, double dx, double dy) Returns the SVG representation of the specified node.
-
Field Details
-
HEXCOLOR_SHADOW
Represents the shadow color hex encoding. -
SHADOW_OPACITY
public static double SHADOW_OPACITYRepresents the shadow opacity. -
SHADOW_DISTANCE
public static int SHADOW_DISTANCERepresents the shadow distance.
-
-
Constructor Details
-
SVGVertexWriter
public SVGVertexWriter()
-
-
Method Details
-
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
-