Class AbstractEdgeShapeFunction<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.decorators.AbstractEdgeShapeFunction<V,E>
-
- Type Parameters:
V
- vertex typeE
- edge type
- All Implemented Interfaces:
BiFunction<org.jgrapht.Graph<V,E>,E,Shape>
- Direct Known Subclasses:
EdgeShape.Wedge
public abstract class AbstractEdgeShapeFunction<V,E> extends Object implements BiFunction<org.jgrapht.Graph<V,E>,E,Shape>
An interface for decorators that return aShape
for a specified edge.- Author:
- Tom Nelson
-
-
Field Summary
Fields Modifier and Type Field Description protected float
controlOffsetIncrement
Specifies how far apart to place the control points for edges being drawn in parallel.
-
Constructor Summary
Constructors Constructor Description AbstractEdgeShapeFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setControlOffsetIncrement(float y)
Sets the value ofcontrol_offset_increment
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
-