Class EdgeShape.Line
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.EdgeShape.Line
-
- All Implemented Interfaces:
com.google.common.base.Function<E,java.awt.Shape>
,java.util.function.Function<E,java.awt.Shape>
public class EdgeShape.Line extends java.lang.Object implements com.google.common.base.Function<E,java.awt.Shape>
An edge shape that renders as a straight line between the vertex endpoints.
-
-
Constructor Summary
Constructors Constructor Description Line()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Shape
apply(E e)
Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.
-
-
-
Method Detail
-
apply
public java.awt.Shape apply(E e)
Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.
-
-