File tree Expand file tree Collapse file tree
src/gameobjects/bitmaptext/typedefs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 */
You can’t perform that action at this time.
0 commit comments