Why is it in greenfoot if i use the code;
Public void drawRect()
{
GreenfootImage img = getImage();
img.clear();
img.drawRect(0,0,100,100);
}
i get a top and left line and nothing else. and the width and height is not 100px its more like 10
and the window size is 400,400,1.
thou if i put in (0,0,5,5)
i get a small rect
I can can scale this to make it bigger
but In another program (small basics) I put in the (0,0,100,100)
I get a full rectange to the specified size.