Hi, I want to create a circle filled with a color but make it transparent. Also, I want to create two lines from he center of the circle to the topmost point? How do I do this?


setImage(img);
img.drawLine(img.getWidth()/2, 0, img.getWidth()/2, img.getHeight()/2);
public Test() { GreenfootImage img = new GreenfootImage(75, 75); img.setColor(Color.GREEN); img.fillOval(0, 0, 75, 75); img.setColor(Color.RED); img.drawLine(img.getWidth() / 2, img.getHeight() / 2, img.getWidth() / 2, 0); // I changed the coordinates around because you (ironphoenix20)... // ...said "draw a line from the circle's midpoint to its topmost point" setImage(img); }