diff --git a/src/core/text/TextStyle.js b/src/core/text/TextStyle.js index 3c57ac2..d438a80 100644 --- a/src/core/text/TextStyle.js +++ b/src/core/text/TextStyle.js @@ -17,7 +17,8 @@ * @param [style.dropShadowBlur=0] {number} Set a shadow blur radius * @param [style.dropShadowColor='#000000'] {string} A fill style to be used on the dropshadow e.g 'red', '#00FF00' * @param [style.dropShadowDistance=5] {number} Set a distance of the drop shadow - * @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.font='bold 20pt Arial'] {string} The style and size of the font * @param [style.letterSpacing=0] {number} The amount of spacing between letters, default is 0 * @param [style.lineHeight] {number} The line height, a number that represents the vertical space that a letter uses