Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react canvas clear

const context = canvas.getContext('2d');

context.clearRect(0, 0, canvas.width, canvas.height);
 
PREVIOUS NEXT
Tagged: #react #canvas #clear
ADD COMMENT
Topic
Name
4+9 =