Created
November 5, 2018 08:29
-
-
Save EbbeVang/f3e0ce44be7aebec82fbd55402a85580 to your computer and use it in GitHub Desktop.
js - use draw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var canvas = document.getElementById("myCanvas"); | |
var ctx = canvas.getContext("2d"); | |
ctx.fillStyle = "#FF0000"; | |
ctx.fillRect(0,0,150,75); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment