body | Body | The Body to attach the Shape to. |
x | number | The offset along the x-axis. |
y | number | The offset along the y-axis. |
w | number | The width of the rectangle. |
h | number | The height of the rectangle. |
angle = 0 | number | The initial angle of the rectangle. |
s | PolygonShape | A new PolygonShape. |