[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Rect Behavior



Hi,

So, I've noticed that, when trying to draw a n*1 or 1*n rectangle (yes I know a line does the job too) with pygame.draw.rect(...), the behavior is different for different fills.  When the fill is 0, nothing draws!  When the fill is 1, the desired rectangle is drawn.  Is this the expected behavior of pygame.draw.rect(...)?

Thanks,
Ian