diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 37ac663..86a546d 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -20,7 +20,7 @@ * @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)