Created
September 6, 2014 20:43
-
-
Save agmcleod/7582fbcf6b06c97103a0 to your computer and use it in GitHub Desktop.
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
if (me.video.isCanvas()) { | |
var context = renderer.getContext(); | |
context.strokeStyle = "red"; | |
context.lineWidth = 2; | |
context.strokeRect(x, y, width, height); | |
} | |
else { | |
renderer.setColor("red"); | |
renderer.strokeRect(x, y, width, height); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment