// draw a rectangle in the center of screen
screen.line(screen.width()/2-5, screen.height()/2-5, 10, 10);
// draw a rectangle in the center of screen
screen.rect(screen.width()/2-5, screen.height()/2-5, 10, 10);
This issue also occurs on the constructor reference page which is reported in addition to other issues with that page here: #8