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

[pygame] strange rect behavior...



hello all,  (possibly newbie question)

If I write :
rect = pygame.Rect([0,0,0,0])
rect.bottom = 100
print rect.height

I get :
0

I thought that : Bottom = Top + Height..
Is This correct ? and Why ?
Looks very strange from the outside.

Thanks,
Lionel.