Created
December 28, 2016 11:30
-
-
Save koenbok/4c921480b6c6e61402c8495d3918648b 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
layer = new CanvasLayer | |
point: Align.center | |
layer.ctx.beginPath() | |
layer.ctx.arc(100, 100, 90, 0, 2 * Math.PI, true) | |
layer.ctx.fillStyle = "#0055DD" | |
layer.ctx.fill() | |
layer.ctx.lineWidth = 20 | |
layer.ctx.strokeStyle = "#00AAFF" | |
layer.ctx.stroke() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment