Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to draw a dot in javascript

function point(x, y, canvas){
  canvas.beginPath();
  canvas.arc(x, y, 1, 0, 2 * Math.PI, true);
  canvas.stroke();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #draw #dot #javascript
ADD COMMENT
Topic
Name
5+9 =