Skip to content

Instantly share code, notes, and snippets.

@diverted247
Created August 27, 2014 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diverted247/a1687b62c164bed96cf1 to your computer and use it in GitHub Desktop.
Save diverted247/a1687b62c164bed96cf1 to your computer and use it in GitHub Desktop.
Example PathText Usage
stage = new createjs.Stage( canvas );
var text = new txt.PathText( {
text:'The fox jumped over the log.',
font:'bernhardmodern bolditalic',
path:'m258 178 a 11 11 0 0 0 11 -11 a 19 19 0 0 0 -19 -19 a 29 29 0 0 0 -29 29 a 48 48 0 0 0 48 48 a 78 78 0 0 0 78 -78 a 126 126 0 0 0 -126 -126 a 205 205 0 0 0 -205 205 a 331 331 0 0 0 331 331 a 536 536 0 0 0 536 -536',
spacing:0,
size:100,
x:100,
y:100,
debug:true
} );
stage.addChild( text );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment