![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| DoubleCubicCurve () | |
| Shape | toShape (final double controlY, final boolean isBackwards) |
| Shape | toShape () |
| Point2D | getValueAt (final double t, final Shape shape) |
Public Member Functions inherited from grammarscope.jung2.edge.AbstractEdgeShapeTransformerWithIndex< V, E > | |
| AbstractEdgeShapeTransformerWithIndex () | |
| EdgeIndexFunction< V, E > | getEdgeIndexFunction () |
| void | setEdgeIndexFunction (final EdgeIndexFunction< V, E > function) |
| Shape | transform (final Context< Graph< V, E >, E > context) |
Static Public Member Functions | |
| static CubicCurve2D.Double[] | toCubicCurves (final Path2D path) |
| static void | main (final String[] args) |
Static Public Member Functions inherited from grammarscope.jung2.edge.AbstractEdgeShapeTransformerWithIndex< V, E > | |
| static float | getYOffsetIncrement () |
| static void | setYOffsetIncrement (final float yOffsetIncrement) |
| static float | getYOffsetBase () |
| static void | setYOffsetBase (final float yOffsetBase) |
Additional Inherited Members | |
Protected Attributes inherited from grammarscope.jung2.edge.AbstractEdgeShapeTransformerWithIndex< V, E > | |
| EdgeIndexFunction< V, E > | indexFunction |
Static Protected Attributes inherited from grammarscope.jung2.edge.AbstractEdgeShapeTransformerWithIndex< V, E > | |
| static final Ellipse2D | loop = new Ellipse2D.Float() |
| static float | yOffsetIncrement = 20.f |
| static float | yOffsetBase = 10.f |
| Point2D grammarscope.jung2.edge.DoubleCubicCurve< V, E >.getValueAt | ( | final double | t, |
| final Shape | shape | ||
| ) |
Function
| t | function input in [0,1] range |
| shape | shape instance |
Implements grammarscope.jung2.edge.HasFunction.
|
static |
|
static |
| Shape grammarscope.jung2.edge.DoubleCubicCurve< V, E >.toShape | ( | ) |
Shape view
Reimplemented from grammarscope.jung2.edge.AbstractEdgeShapeTransformerWithIndex< V, E >.
| Shape grammarscope.jung2.edge.DoubleCubicCurve< V, E >.toShape | ( | final double | controlY, |
| final boolean | isBackwards | ||
| ) |
Create shape
| controlY | Y control |
| isBackwards | whether edge is backwards |
Reimplemented from grammarscope.jung2.edge.AbstractEdgeShapeTransformerWithIndex< V, E >.
1.8.17