Question about display.newRect and local center

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.

x / y (required)

Number. The x and y coordinates for the center of the rectangle.

Syntax

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!

Hello,

With a rectangle at 0,0, you should be seeing just 1/4 of it. Are you seeing otherwise? The anchor point is, by default, the rectangle’s center point, which is placed at 0,0 in your example code.

Best regards,

Brent

Hello,

With a rectangle at 0,0, you should be seeing just 1/4 of it. Are you seeing otherwise? The anchor point is, by default, the rectangle’s center point, which is placed at 0,0 in your example code.

Best regards,

Brent