@Override public void draw(Graphics2D g2,DialPlot plot,Rectangle2D frame,Rectangle2D view){
  Rectangle2D f=DialPlot.rectangleByRadius(frame,this.radius,this.radius);
  Arc2D arc=new Arc2D.Double(f,this.angle,0.0,Arc2D.OPEN);
  Point2D pt=arc.getStartPoint();
  g2.setPaint(this.paint);
  g2.setFont(this.font);
  TextUtilities.drawAlignedString(this.label,g2,(float)pt.getX(),(float)pt.getY(),this.anchor);
}

@ Override public void draw ( Graphics2D g2 , DialPlot plot , Rectangle2D frame , Rectangle2D view ) { Rectangle2D f = DialPlot . rectangleByRadius ( frame , this . radius , this . radius ) ; Arc2D arc = new Arc2D . Double ( f , this . angle , 0.0 , Arc2D . OPEN ) ; Point2D pt = arc . getStartPoint ( ) ; g2 . setPaint ( this . paint ) ; g2 . setFont ( this . font ) ; TextUtilities . drawAlignedString ( this . label , g2 , ( float ) pt . getX ( ) , ( float ) pt . getY ( ) , this . anchor ) ; }
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 .
