phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
14 lines (13 loc) • 545 B
JavaScript
/**
* Details about a single world entry in the `BitmapTextSize` object words array.
*
* @typedef {object} Phaser.Types.GameObjects.BitmapText.BitmapTextWord
* @since 3.50.0
*
* @property {number} x - The x position of the word in the BitmapText.
* @property {number} y - The y position of the word in the BitmapText.
* @property {number} w - The width of the word.
* @property {number} h - The height of the word.
* @property {number} i - The index of the word within the line.
* @property {string} word - The word.
*/