V - E - public class ReshapingEdgeRenderer<V,E> extends BasicEdgeRenderer<V,E> implements Renderer.Edge<V,E>
Renderer.Edge.NOOPedgeArrowRenderingSupport| Constructor and Description |
|---|
ReshapingEdgeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawSimpleEdge(RenderContext<V,E> rc,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout,
E e)
Draws the edge
e, whose endpoints are at (x1,y1)
and (x2,y2), on the graphics context g. |
getEdgeArrowRenderingSupport, paintEdge, setEdgeArrowRenderingSupportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEdgeArrowRenderingSupport, paintEdge, setEdgeArrowRenderingSupportprotected void drawSimpleEdge(RenderContext<V,E> rc, edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout, E e)
e, whose endpoints are at (x1,y1)
and (x2,y2), on the graphics context g.
The Shape provided by the EdgeShapeFunction instance
is scaled in the x-direction so that its width is equal to the distance between
(x1,y1) and (x2,y2).drawSimpleEdge in class BasicEdgeRenderer<V,E>