UNPKG

test-gcanvas-node

Version:

gcanvas for node developer

7 lines (6 loc) 145 B
ctx.beginPath(); ctx.lineWidth = 10*ratio; ctx.lineCap = "round"; ctx.moveTo(10*ratio, 50*ratio); ctx.lineTo(100*ratio, 50*ratio); ctx.stroke();