You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BitmapText.setCharacterTint is a new method that allows you to set a tint color (either additive, or fill) on a specific range of characters within a static Bitmap Text. You can specify the start and length offsets and a per-corner tint color.
* @param {number} [start=0] - The starting character to begin the tint at. If negative, it counts back from the end of the text.
390
+
* @param {number} [length=1] - The number of characters to tint. Remember that spaces count as a character too. Pass -1 to tint all characters from `start` onwards.
391
+
* @param {boolean} [tintFill=false] - Use a fill-based tint (true), or an additive tint (false)
392
+
* @param {integer} [topLeft=0xffffff] - The tint being applied to the top-left of the character. If not other values are given this value is applied evenly, tinting the whole character.
393
+
* @param {integer} [topRight] - The tint being applied to the top-right of the character.
394
+
* @param {integer} [bottomLeft] - The tint being applied to the bottom-left of the character.
395
+
* @param {integer} [bottomRight] - The tint being applied to the bottom-right of the character.
0 commit comments