Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

well if r is your Rect there,

area  : r.width * r.height  
center: (r.x + r.width/2,  r.y+r.height/2)