Skip to content

Commit ee01d36

Browse files
committed
Update BitmapTextCharacter.js
1 parent 1db3ba7 commit ee01d36

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/gameobjects/bitmaptext/typedefs/BitmapTextCharacter.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88
* @since 3.50.0
99
*
1010
* @property {number} i - The index of this character within the BitmapText text string.
11+
* @property {string} char - The character.
12+
* @property {number} code - The character code of the character.
1113
* @property {number} x - The x position of the character in the BitmapText.
1214
* @property {number} y - The y position of the character in the BitmapText.
1315
* @property {number} w - The width of the character.
1416
* @property {number} h - The height of the character.
15-
* @property {string} char - The character.
16-
* @property {number} code - The character code of the character.
17+
* @property {number} t - The top of the line this character is on.
18+
* @property {number} r - The right-most point of this character, including xAdvance.
19+
* @property {number} b - The bottom of the line this character is on.
1720
* @property {number} line - The line number the character appears on.
1821
* @property {Phaser.Types.GameObjects.BitmapText.BitmapFontCharacterData} glyph - Reference to the glyph object this character is using.
1922
*/

0 commit comments

Comments
 (0)