Class EdgeShape.QuadCurve
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer<V,E>
-
- edu.uci.ics.jung.visualization.decorators.EdgeShape.QuadCurve
-
- All Implemented Interfaces:
com.google.common.base.Function<E,java.awt.Shape>
,java.util.function.Function<E,java.awt.Shape>
public class EdgeShape.QuadCurve extends ParallelEdgeShapeTransformer<V,E>
An edge shape that renders as a QuadCurve between vertex endpoints.
-
-
Field Summary
-
Fields inherited from class edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer
control_offset_increment, edgeIndexFunction
-
-
Constructor Summary
Constructors Constructor Description QuadCurve()
-
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.void
setEdgeIndexFunction(EdgeIndexFunction<V,E> parallelEdgeIndexFunction)
-
Methods inherited from class edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer
getEdgeIndexFunction, setControlOffsetIncrement
-
-
-
-
Method Detail
-
setEdgeIndexFunction
public void setEdgeIndexFunction(EdgeIndexFunction<V,E> parallelEdgeIndexFunction)
- Overrides:
setEdgeIndexFunction
in classParallelEdgeShapeTransformer<V,E>
-
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.
-
-