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