Class EdgeShape.CubicCurve

  • All Implemented Interfaces:
    com.google.common.base.Function<E,​java.awt.Shape>, java.util.function.Function<E,​java.awt.Shape>
    Enclosing class:
    EdgeShape<V,​E>

    public class EdgeShape.CubicCurve
    extends ParallelEdgeShapeTransformer<V,​E>
    An edge shape that renders as a CubicCurve between vertex endpoints. The two control points are at (1/3*length, 2*controlY) and (2/3*length, controlY) giving a 'spiral' effect.
    • Constructor Detail

      • CubicCurve

        public CubicCurve()
    • Method Detail

      • apply

        public java.awt.Shape apply​(E e)
        Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.