//Cube; rect(0,0,100,100); //Line; line(0,0,500,500); //Circle; circle(100,100,100); //Triangle; beginPath(); moveTo(200,200); lineTo(350,250); lineTo(250,350); endPath();
Documentation