* the angle
*/
private static void drawOutlinedCurvedString( Graphics2D g2d, String string, Font font, Color outlineColor, Color textColor, double x, double y,
double diameter, double startAngle, double angle )
{
Stroke stroke = new TextStroke( string, font, false, false );
g2d.setStroke( stroke );
g2d.setColor( outlineColor );
Shape arc;
arc = new Arc2D.Double( new Rectangle2D.Double( x - 1, y - 1, diameter, diameter ), startAngle, -angle, Arc2D.OPEN );
g2d.draw( arc );