Class AbstractEdgeShapeFunction<V,​E>

  • Type Parameters:
    V - vertex type
    E - edge type
    All Implemented Interfaces:
    BiFunction<org.jgrapht.Graph<V,​E>,​E,​Shape>
    Direct Known Subclasses:
    EdgeShape.Wedge

    public abstract class AbstractEdgeShapeFunction<V,​E>
    extends Object
    implements BiFunction<org.jgrapht.Graph<V,​E>,​E,​Shape>
    An interface for decorators that return a Shape for a specified edge.
    Author:
    Tom Nelson
    • Field Detail

      • controlOffsetIncrement

        protected float controlOffsetIncrement
        Specifies how far apart to place the control points for edges being drawn in parallel.
    • Constructor Detail

      • AbstractEdgeShapeFunction

        public AbstractEdgeShapeFunction()
    • Method Detail

      • setControlOffsetIncrement

        public void setControlOffsetIncrement​(float y)
        Sets the value of control_offset_increment.