view docs/Rects @ 181:8fd03596d7d5 default tip

created
author 127.0.0.1
date Tue, 03 Jul 2012 07:00:36 +0200
parents 810886abba7a
children
line wrap: on
line source

{{{#!python
pygame.Rect(left, top, width, height): return Rect
pygame.Rect((left, top), (width, height)): return Rect
pygame.Rect(object): return Rect
}}}

* top, left, bottom, right
* topleft, bottomleft, topright, bottomright
* midtop, midleft, midbottom, midright
* center, centerx, centery
* size, width, height
* w, h