Basic drawing

// x = 10, y = 20, width = 200, height = 100
c.fillStyle = '#ff0000'
c.strokeStyle = '#ff00ff'
c.lineWidth = 5
c.lineCap = 'round'
c.fillRect(10, 20, 200, 100)
c.stroke()
c.fill()
Comments