We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b96ade commit 302a498Copy full SHA for 302a498
1 file changed
src/gameobjects/text/GetTextSize.js
@@ -12,9 +12,9 @@
12
*
13
* @param {Phaser.GameObjects.Text} text - The Text object to calculate the size from.
14
* @param {Phaser.Types.GameObjects.Text.TextMetrics} size - The Text metrics to use when calculating the size.
15
- * @param {array} lines - The lines of text to calculate the size from.
+ * @param {string[]} lines - The lines of text to calculate the size from.
16
17
- * @return {object} An object containing dimensions of the Text object.
+ * @return {Phaser.Types.GameObjects.Text.GetTextSizeObject} An object containing dimensions of the Text object.
18
*/
19
var GetTextSize = function (text, size, lines)
20
{
0 commit comments