Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript cahnge colour of strokerect

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

context.strokeStyle = 'blue';
context.strokeRect(100, 100, 50, 50);
 
PREVIOUS NEXT
Tagged: #javascript #cahnge #colour #strokerect
ADD COMMENT
Topic
Name
9+4 =