diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 9f01aa7..e4c603c 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -19,7 +19,8 @@ * A Text Object will create a line or multiple lines of text. To split a line you can use '\n' in your text string, * or add a wordWrap property set to true and and wordWrapWidth property with a value in the style object. * - * A Text can be created directly from a string and a style object + * A Text can be created directly from a string and a style object, + * which can be generated [here](https://pixijs.io/pixi-text-style). * * ```js * let text = new PIXI.Text('This is a PixiJS text',{fontFamily : 'Arial', fontSize: 24, fill : 0xff1010, align : 'center'}); diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 9f01aa7..e4c603c 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -19,7 +19,8 @@ * A Text Object will create a line or multiple lines of text. To split a line you can use '\n' in your text string, * or add a wordWrap property set to true and and wordWrapWidth property with a value in the style object. * - * A Text can be created directly from a string and a style object + * A Text can be created directly from a string and a style object, + * which can be generated [here](https://pixijs.io/pixi-text-style). * * ```js * let text = new PIXI.Text('This is a PixiJS text',{fontFamily : 'Arial', fontSize: 24, fill : 0xff1010, align : 'center'}); diff --git a/src/core/text/TextStyle.js b/src/core/text/TextStyle.js index caf394c..d737d96 100644 --- a/src/core/text/TextStyle.js +++ b/src/core/text/TextStyle.js @@ -48,6 +48,7 @@ /** * A TextStyle Object decorates a Text Object. It can be shared between * multiple Text objects. Changing the style will update all text objects using it. + * It can be generated [here](https://pixijs.io/pixi-text-style). * * @class * @memberof PIXI