Package org.jfree.chart.plot
Interface DrawingSupplier
-
- All Known Implementing Classes:
DefaultDrawingSupplier
public interface DrawingSupplier
A supplier ofPaint
,Stroke
andShape
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Paint
getNextFillPaint()
Returns the next fill paint in a sequence maintained by the supplier.Paint
getNextOutlinePaint()
Returns the next outline paint in a sequence maintained by the supplier.Stroke
getNextOutlineStroke()
Returns the nextStroke
object in a sequence maintained by the supplier.Paint
getNextPaint()
Returns the next paint in a sequence maintained by the supplier.Shape
getNextShape()
Returns the nextShape
object in a sequence maintained by the supplier.Stroke
getNextStroke()
Returns the nextStroke
object in a sequence maintained by the supplier.
-
-
-
Method Detail
-
getNextPaint
Paint getNextPaint()
Returns the next paint in a sequence maintained by the supplier.- Returns:
- The paint.
-
getNextOutlinePaint
Paint getNextOutlinePaint()
Returns the next outline paint in a sequence maintained by the supplier.- Returns:
- The paint.
-
getNextFillPaint
Paint getNextFillPaint()
Returns the next fill paint in a sequence maintained by the supplier.- Returns:
- The paint.
- Since:
- 1.0.6
-
getNextStroke
Stroke getNextStroke()
Returns the nextStroke
object in a sequence maintained by the supplier.- Returns:
- The stroke.
-
getNextOutlineStroke
Stroke getNextOutlineStroke()
Returns the nextStroke
object in a sequence maintained by the supplier.- Returns:
- The stroke.
-
getNextShape
Shape getNextShape()
Returns the nextShape
object in a sequence maintained by the supplier.- Returns:
- The shape.
-
-