List of usage examples for org.jfree.chart.plot DrawingSupplier getNextOutlineStroke
public Stroke getNextOutlineStroke();
Stroke
object in a sequence maintained by the supplier. From source file:KIDLYAbstractRenderer.java
/** * Returns the stroke used to outline the items in a series. * * @param series the series (zero-based index). * * @return The stroke (never <code>null</code>). * * @since 1.0.6//from w w w.j av a 2 s .co m */ public Stroke lookupSeriesOutlineStroke(int series) { // return the override, if there is one... if (this.outlineStroke != null) { return this.outlineStroke; } // otherwise look up the stroke table Stroke result = getSeriesOutlineStroke(series); if (result == null && this.autoPopulateSeriesOutlineStroke) { DrawingSupplier supplier = getDrawingSupplier(); if (supplier != null) { result = supplier.getNextOutlineStroke(); setSeriesOutlineStroke(series, result, false); } } if (result == null) { result = this.baseOutlineStroke; } return result; }