Last active
December 28, 2016 11:05
-
-
Save koenbok/79506e61f0be72a71cb2c26a0b3ebbb3 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
# Make sure Raphael.js is included in the html file | |
layer = new CanvasLayer | |
paper = new Raphael(layer.svg) | |
text = paper.text(70, 40, "Lorem Ipsum!") | |
text.attr({"font-size": 20, "fill": "orange"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment