afreechart/src/main/java/org/afree/chart/StandardChartTheme.java
/**
     * Applies the attributes of this theme to a {@link PiePlot} instance.
     * This method also clears any set values for the section paint, outline
     * etc, so that the theme's {@link DrawingSupplier} will be used.
     *
     * @param plot  the plot (<code>null</code> not permitted).
     */
Applies the attributes of this theme to a  PiePlot instance.
This method also clears any set values for the section paint, outline
etc, so that the theme's  DrawingSupplier will be used.

@param plot  the plot (null not permitted).
Applies the attributes of this theme to a PiePlot instance . This method also clears any set values for the section paint outline etc so that the theme ' s DrawingSupplier will be used . @param plot the plot ( null not permitted ) .
protected void applyToPiePlot(PiePlot plot) {
        plot.setLabelLinkPaintType(this.labelLinkPaintType);
        plot.setLabelLinkStyle(this.labelLinkStyle);
        plot.setLabelFont(this.regularFont);
        if (plot.getAutoPopulateSectionPaint()) {
            plot.clearSectionPaints(false);
        }
        if (plot.getAutoPopulateSectionOutlinePaint()) {
            plot.clearSectionOutlinePaints(false);
        }
        if (plot.getAutoPopulateSectionOutlineStroke()) {
            plot.clearSectionOutlineStrokes(false);
        }
    }
protected void applyToPiePlot ( PiePlot plot ) { plot . setLabelLinkPaintType ( this . labelLinkPaintType ) ; plot . setLabelLinkStyle ( this . labelLinkStyle ) ; plot . setLabelFont ( this . regularFont ) ; if ( plot . getAutoPopulateSectionPaint ( ) ) { plot . clearSectionPaints ( false ) ; } if ( plot . getAutoPopulateSectionOutlinePaint ( ) ) { plot . clearSectionOutlinePaints ( false ) ; } if ( plot . getAutoPopulateSectionOutlineStroke ( ) ) { plot . clearSectionOutlineStrokes ( false ) ; } }
Applies the attributes of this theme to a {@link PiePlot} instance.
Applies the attributes of this theme to a { @link PiePlot } instance .
// clear the section attributes so that the theme's DrawingSupplier // will be used