theEllipse = new Ellipse2D.Double( -1.0*ds,-0.25*ds,2.0*ds,0.5*ds); g2.rotate(Math.PI/3.0);//rotate 60 degrees g2.setPaint(Color.green); g2.setComposite( AlphaComposite.getInstance( AlphaComposite.SRC_OVER,1.0f)); g2.fill(theEllipse); Figure 9