V
- vertexE
- edgepublic class BracketWithOffset<V,E> extends AbstractEdgeShapeTransformerWithOffset<V,E>
Modifier and Type | Field and Description |
---|---|
protected static java.awt.geom.GeneralPath |
instance |
offsetFunctions, xOffsetIncrement
indexFunction, loop, yOffsetBase, yOffsetIncrement
Constructor and Description |
---|
BracketWithOffset()
Construct
|
Modifier and Type | Method and Description |
---|---|
java.awt.Shape |
toShape()
Shape view
|
java.awt.Shape |
toShape(double controlY,
boolean isBackwards)
Create shape
|
getEdgeOffsetFunctions, getXOffsetIncrement, setEdgeOffsetFunctions, setXOffsetIncrement
getEdgeIndexFunction, getYOffsetBase, getYOffsetIncrement, setEdgeIndexFunction, setYOffsetBase, setYOffsetIncrement, transform
public java.awt.Shape toShape(double controlY, boolean isBackwards)
AbstractEdgeShapeTransformerWithIndex
toShape
in class AbstractEdgeShapeTransformerWithIndex<V,E>
controlY
- Y controlisBackwards
- whether edge is backwardspublic java.awt.Shape toShape()
EdgeShaper
toShape
in interface EdgeShaper
toShape
in class AbstractEdgeShapeTransformerWithIndex<V,E>