Hey, I'm not sure why but for some reason when I am trying to draw a circle using this code:
That's how the circle looks:
Is there a way that I can make it a full circle?
Thanks a lot!
void updateImage()
{
//Create an image of the set size using built in greenfoot commands
GreenfootImage displayImage=new GreenfootImage(size,size);
//Draw Circle
displayImage.setColor(ballColor); //Set color to ballColor
displayImage.drawOval(0, 0, this.getSize(), this.getSize()); //Is the problem here?
//Display the number inside circle
Font displayFont = new Font( (int)(size*0.75) );
displayImage.setColor(ballColor.BLACK) //Set color to Black
displayImage.setFont(displayFont);
displayImage.drawString(Integer.toString(size),(int)(size*0.1),(int)(size*0.8));
//Add the image as the new image for this object
super.setImage(displayImage);
}
Is there a way that I can make it a full circle?
Thanks a lot!

