edu.uci.ics.jung.graph.decorators
Class EdgeShape.Wedge
java.lang.Object
edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
edu.uci.ics.jung.graph.decorators.EdgeShape.Wedge
- All Implemented Interfaces:
- EdgeShapeFunction
- Enclosing class:
- EdgeShape
public static class EdgeShape.Wedge
- extends AbstractEdgeShapeFunction
An edge shape that renders as an isosceles triangle whose
apex is at the destination vertex for directed edges,
and as a "bowtie" shape for undirected edges.
- Author:
- Joshua O'Madadhain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgeShape.Wedge
public EdgeShape.Wedge(int width)
getShape
public Shape getShape(Edge e)
- Description copied from interface:
EdgeShapeFunction
- Returns the
Shape
associated with e
.