Skip to content

Commit

Permalink
Update Text.js
Browse files Browse the repository at this point in the history
  • Loading branch information
evilangelist committed Apr 27, 2016
1 parent 5c7abaf commit e915d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/text/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var Sprite = require('../sprites/Sprite'),
* @param text {string} The copy that you would like the text to display
* @param [style] {object} The style parameters
* @param [style.font] {string} default 'bold 20px Arial' The style and size of the font
* @param [style.fill='black'] {String|Number|CanvasGradient} A canvas fillstyle that will be used on the text e.g 'red', '#00FF00'
* @param [style.fill='black'] {String|Number|CanvasGradient|CanvasPattern} A canvas fillstyle that will be used on the text e.g 'red', '#00FF00'. @see {@link https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyle|MDN}
* @param [style.align='left'] {string} Alignment for multiline text ('left', 'center' or 'right'), does not affect single line text
* @param [style.stroke] {String|Number} A canvas fillstyle that will be used on the text stroke e.g 'blue', '#FCFF00'
* @param [style.strokeThickness=0] {number} A number that represents the thickness of the stroke. Default is 0 (no stroke)
Expand Down

0 comments on commit e915d5b

Please sign in to comment.