public abstract class CubicCurve0<V,E> extends edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer<V,E> implements edu.uci.ics.jung.visualization.decorators.EdgeShape.IndexedRendering<V,E>, EdgeShaper
Modifier and Type | Field and Description |
---|---|
protected edu.uci.ics.jung.visualization.decorators.EdgeShape.Loop<V,E> |
loop
Shape for self-loop edges
|
protected edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> |
parallelEdgeIndexFunction
Edge index function
|
Constructor and Description |
---|
CubicCurve0()
Construct
|
Modifier and Type | Method and Description |
---|---|
(package private) abstract java.awt.geom.Point2D.Float |
getControlFactor1() |
(package private) abstract java.awt.geom.Point2D.Float |
getControlFactor2() |
edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> |
getEdgeIndexFunction() |
void |
setEdgeIndexFunction(edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> parallelEdgeIndexFunction) |
java.awt.Shape |
toShape()
Shape view
|
private java.awt.Shape |
toShape(float controlY)
Shape template
|
java.awt.Shape |
transform(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E> context)
Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.
|
protected final edu.uci.ics.jung.visualization.decorators.EdgeShape.Loop<V,E> loop
abstract java.awt.geom.Point2D.Float getControlFactor1()
abstract java.awt.geom.Point2D.Float getControlFactor2()
public java.awt.Shape transform(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E> context)
public void setEdgeIndexFunction(edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> parallelEdgeIndexFunction)
public edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> getEdgeIndexFunction()
private java.awt.Shape toShape(float controlY)
controlY
- controlYpublic java.awt.Shape toShape()
EdgeShaper
toShape
in interface EdgeShaper