I have a question about http://docs.coronalabs.com/api/library/display/newRect.html
Creates a rectangle object. The local origin is at the center of the rectangle; the anchor point is initialized to this local origin.
Number. The x and y coordinates for the center of the rectangle.
display.newRect( x, y, width, height )
– Fill the screen with a green rectangle
local rect = display.newRect( 0, 0, display.contentWidth, display.contentHeight )
Now it created a rectangle at top left of the screen at (0,0) which makes sense to me, but the explanation of center of the rectangle made me believe I would be seeing 1/4th of the rectangle because the other 3/4ths would be outside. Because I now have a rectangle that is 320 pixels wide and 480 pixels long. So, to me the CENTER would be (160,240). Or are they calling top left corner the center??? Which makes no sense.
Can someone explain to me what is going on?
Thanks!