diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 5b2fb23..d2bb66a 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -18,7 +18,7 @@ * @extends PIXI.Sprite * @memberof PIXI * @param text {string} The copy that you would like the text to display - * @param [style] {object|PIXI.TextStyle} The style parameters + * @param [style] {object|TextStyle} The style parameters * @param [resolution=CONST.RESOLUTION] The resolution of the canvas */ function Text(text, style, resolution) @@ -608,7 +608,6 @@ /** * Method to be called upon a TextStyle change. - * @private */ Text.prototype._onStyleChange = function () { diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 5b2fb23..d2bb66a 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -18,7 +18,7 @@ * @extends PIXI.Sprite * @memberof PIXI * @param text {string} The copy that you would like the text to display - * @param [style] {object|PIXI.TextStyle} The style parameters + * @param [style] {object|TextStyle} The style parameters * @param [resolution=CONST.RESOLUTION] The resolution of the canvas */ function Text(text, style, resolution) @@ -608,7 +608,6 @@ /** * Method to be called upon a TextStyle change. - * @private */ Text.prototype._onStyleChange = function () { diff --git a/src/core/text/TextStyle.js b/src/core/text/TextStyle.js index 7c3d7be..76951ba 100644 --- a/src/core/text/TextStyle.js +++ b/src/core/text/TextStyle.js @@ -20,7 +20,7 @@ * @param [style.lineHeight] {number} The line height, a number that represents the vertical space that a letter uses * @param [style.dropShadow=false] {boolean} Set a drop shadow for the text * @param [style.dropShadowColor='#000000'] {string} A fill style to be used on the dropshadow e.g 'red', '#00FF00' - * @param [style.dropShadowAngle=Math.PI/6] {number} Set a angle of the drop shadow + * @param [style.dropShadowAngle=Math.PI/4] {number} Set a angle of the drop shadow * @param [style.dropShadowDistance=5] {number} Set a distance of the drop shadow * @param [style.dropShadowBlur=0] {number} Set a shadow blur radius * @param [style.padding=0] {number} Occasionally some fonts are cropped on top or bottom. Adding some padding will