org.jgraph.cellview
Class JGraphDiamondView
java.lang.Object
VertexView
org.jgraph.cellview.JGraphDiamondView
- public class JGraphDiamondView
- extends VertexView
Creates a diamond shaped graph cell. Correctly calculates perimeter, and
manage a shape with different height and width parameters.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
renderer
public static transient JGraphDiamondView.JGraphDiamondRenderer renderer
JGraphDiamondView
public JGraphDiamondView()
JGraphDiamondView
public JGraphDiamondView(Object cell)
getPerimeterPoint
public Point2D getPerimeterPoint(Point2D source,
Point2D p)
getRenderer
public CellViewRenderer getRenderer()
Copyright (C) 2003-2005 Gaudenz Alder. All rights reserved.