Class EdgeShape.CubicCurve
java.lang.Object
edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer<V,E>
edu.uci.ics.jung.visualization.decorators.EdgeShape.CubicCurve
An edge shape that renders as a CubicCurve between vertex
endpoints. The two control points are at
(1/3*length, 2*controlY) and (2/3*length, controlY)
giving a 'spiral' effect.
-
Field Summary
Fields inherited from class edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer
control_offset_increment, edgeIndexFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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> edgeIndexFunction) Methods inherited from class edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer
getEdgeIndexFunction, setControlOffsetIncrement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
CubicCurve
public CubicCurve()
-
-
Method Details
-
setEdgeIndexFunction
- Overrides:
setEdgeIndexFunction
in classParallelEdgeShapeTransformer<V,
E>
-
apply
Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.
-