<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> </head> <body contenteditable="false"> <canvas id="myCanvas" width="100" height="100" style="border:1px solid #d3d3d3;"> Your browser does not support the canvas element. </canvas> <script> var canvas = document.getElementById("myCanvas"); var ctx = canvas.getContext("2d"); ctx.beginPath(); ctx.moveTo(0,100); ctx.lineTo(20,80); ctx.lineTo(10,80); </script> </body> </html>
ctx.lineTo(10, 80); ctx.stroke();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)