Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

clear html canvas

function clear() {
  this.context.clearRect(0, 0, window.innerWidth, window.innerHeight);
}
 
PREVIOUS NEXT
Tagged: #clear #html #canvas
ADD COMMENT
Topic
Name
6+4 =