Skip to content

Commit

Permalink
writeTextToCanvas JSDoc/TS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoran995 authored Oct 12, 2020
1 parent b2d7207 commit 641991c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/writeTextToCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var imageSmoothingEnabledName;
* @param {Number} [options.strokeWidth=1] The stroke width.
* @param {Color} [options.backgroundColor=Color.TRANSPARENT] The background color of the canvas.
* @param {Number} [options.padding=0] The pixel size of the padding to add around the text.
* @returns {HTMLCanvasElement} A new canvas with the given text drawn into it. The dimensions object
* @returns {HTMLCanvasElement|undefined} A new canvas with the given text drawn into it. The dimensions object
* from measureText will also be added to the returned canvas. If text is
* blank, returns undefined.
* @function writeTextToCanvas
Expand Down

0 comments on commit 641991c

Please sign in to comment.