diff --git a/packages/text/src/Text.js b/packages/text/src/Text.js index 3749e0c..d85d8dc 100644 --- a/packages/text/src/Text.js +++ b/packages/text/src/Text.js @@ -18,7 +18,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/packages/text/src/Text.js b/packages/text/src/Text.js index 3749e0c..d85d8dc 100644 --- a/packages/text/src/Text.js +++ b/packages/text/src/Text.js @@ -18,7 +18,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/packages/text/src/TextStyle.js b/packages/text/src/TextStyle.js index e7b7400..09f4d73 100644 --- a/packages/text/src/TextStyle.js +++ b/packages/text/src/TextStyle.js @@ -39,6 +39,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