public class CubicCurveWithOffset<V,E> extends AbstractEdgeShapeTransformerWithOffset<V,E> implements HasFunction
offsetFunctions, xOffsetIncrementindexFunction, loop, yOffsetBase, yOffsetIncrement| Constructor and Description |
|---|
CubicCurveWithOffset() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Point2D |
getValueAt(double t,
java.awt.Shape shape)
Function
|
java.awt.Shape |
toShape()
Shape view
|
java.awt.Shape |
toShape(double controlY,
boolean isBackwards)
Create shape
|
getEdgeOffsetFunctions, getXOffsetIncrement, setEdgeOffsetFunctions, setXOffsetIncrementgetEdgeIndexFunction, getYOffsetBase, getYOffsetIncrement, setEdgeIndexFunction, setYOffsetBase, setYOffsetIncrement, transformpublic java.awt.Shape toShape(double controlY,
boolean isBackwards)
AbstractEdgeShapeTransformerWithIndextoShape in class AbstractEdgeShapeTransformerWithIndex<V,E>controlY - Y controlisBackwards - whether edge is backwardspublic java.awt.Shape toShape()
EdgeShapertoShape in interface EdgeShapertoShape in class AbstractEdgeShapeTransformerWithIndex<V,E>public java.awt.geom.Point2D getValueAt(double t,
java.awt.Shape shape)
HasFunctiongetValueAt in interface HasFunctiont - function input in [0,1] rangeshape - shape instance