Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

resetting canvas html

var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
context.clearRect(0, 0, canvas.width, canvas.height);
Source by www.html5canvastutorials.com #
 
PREVIOUS NEXT
Tagged: #resetting #canvas #html
ADD COMMENT
Topic
Name
7+5 =