diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 901ce43..6be6ab2 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -17,7 +17,7 @@ * A Text can be created directly from a string and a style object * * ```js - * var text = new PIXI.Text('This is a pixi text',{font : '24px Arial', fill : 0xff1010, align : 'center'}); + * var text = new PIXI.Text('This is a pixi text',{fontFamily : 'Arial', fontSize: 24, fill : 0xff1010, align : 'center'}); * ``` * * @class