afreechart/src/main/java/org/afree/chart/plot/dial/DialBackground.java
/**
     * Draws the background to the specified graphics device.  If the dial
     * frame specifies a window, the clipping region will already have been
     * set to this window before this method is called.
     *
     * @param canvas  the graphics device (<code>null</code> not permitted).
     * @param plot  the plot (ignored here).
     * @param frame  the dial frame (ignored here).
     * @param view  the view RectShape (<code>null</code> not permitted).
     */
Draws the background to the specified graphics device.  If the dial
frame specifies a window, the clipping region will already have been
set to this window before this method is called.

@param canvas  the graphics device (null not permitted).
@param plot  the plot (ignored here).
@param frame  the dial frame (ignored here).
@param view  the view RectShape (null not permitted).
Draws the background to the specified graphics device . If the dial frame specifies a window the clipping region will already have been set to this window before this method is called . @param canvas the graphics device ( null not permitted ) . @param plot the plot ( ignored here ) . @param frame the dial frame ( ignored here ) . @param view the view RectShape ( null not permitted ) .
public void draw(Canvas canvas, DialPlot plot, RectShape frame,
            Shape view) {
        canvas.save();
        Paint p = this.paint;
        frame.fill(canvas, p);
        canvas.restore();
    }
public void draw ( Canvas canvas , DialPlot plot , RectShape frame , Shape view ) { canvas . save ( ) ; Paint p = this . paint ; frame . fill ( canvas , p ) ; canvas . restore ( ) ; }
Draws the background to the specified graphics device.
Draws the background to the specified graphics device .
//        canvas.clipPath(view.getPath()); //        if (p instanceof GradientPaint) { //            p = this.gradientPaintTransformer.transform((GradientPaint) p, //                    view); //        }