Interface DrawingSupplier

All Known Implementing Classes:
DefaultDrawingSupplier

public interface DrawingSupplier
A supplier of Paint, Stroke and Shape objects for use by plots and renderers. By providing a central place for obtaining these items, we can ensure that duplication is avoided.

To support the cloning of charts, classes that implement this interface should also implement PublicCloneable.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next fill paint in a sequence maintained by the supplier.
    Returns the next outline paint in a sequence maintained by the supplier.
    Returns the next Stroke object in a sequence maintained by the supplier.
    Returns the next paint in a sequence maintained by the supplier.
    Returns the next Shape object in a sequence maintained by the supplier.
    Returns the next Stroke object in a sequence maintained by the supplier.
  • Method Details

    • getNextPaint

      Returns the next paint in a sequence maintained by the supplier.
      Returns:
      The paint.
    • getNextOutlinePaint

      Returns the next outline paint in a sequence maintained by the supplier.
      Returns:
      The paint.
    • getNextFillPaint

      Returns the next fill paint in a sequence maintained by the supplier.
      Returns:
      The paint.
    • getNextStroke

      Returns the next Stroke object in a sequence maintained by the supplier.
      Returns:
      The stroke.
    • getNextOutlineStroke

      Returns the next Stroke object in a sequence maintained by the supplier.
      Returns:
      The stroke.
    • getNextShape

      Returns the next Shape object in a sequence maintained by the supplier.
      Returns:
      The shape.