Skip to content

Commit c166976

Browse files
committed
Update BitmapTextCharacter.js
1 parent a4577e2 commit c166976

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

src/gameobjects/bitmaptext/typedefs/BitmapTextCharacter.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/**
22
* A single entry from the `BitmapTextSize` characters array.
33
*
4-
* The position and dimensions take the scale factor into account.
4+
* The position and dimensions take the font size into account,
5+
* but are not translated into the local space of the Game Object itself.
56
*
67
* @typedef {object} Phaser.Types.GameObjects.BitmapText.BitmapTextCharacter
78
* @since 3.25.0
@@ -13,5 +14,15 @@
1314
* @property {string} char - The character.
1415
* @property {number} code - The character code of the character.
1516
* @property {number} line - The line number the character appears on.
17+
* @property {boolean} isTinted - Does this character have its own unique tint? (WebGL only).
18+
* @property {number} tintEffect - The tint effect this character uses (WebGL only).
19+
* @property {number} tintTL - The top-left tint color for this character (WebGL only).
20+
* @property {number} tintTR - The top-right tint color for this character (WebGL only).
21+
* @property {number} tintBL - The bottom-left tint color for this character (WebGL only).
22+
* @property {number} tintBR - The bottom-right tint color for this character (WebGL only).
23+
* @property {number} alphaTL - The top-left alpha value for this character (WebGL only).
24+
* @property {number} alphaTR - The top-right alpha value for this character (WebGL only).
25+
* @property {number} alphaBL - The bottom-left alpha value for this character (WebGL only).
26+
* @property {number} alphaBR - The bottom-right alpha value for this character (WebGL only).
1627
* @property {Phaser.Types.GameObjects.BitmapText.BitmapFontCharacterData} glyph - Reference to the glyph object this character is using.
1728
*/

0 commit comments

Comments
 (0)