Create a new instance that references the given char.
The actual bitmap char to be drawn.
The index of this char in the processed String.
The scale with which the char must be placed.
The x-coordinate of the char's location.
The y-coordinate of the char's location.
Returns a "BitmapCharLocation" instance from the pool, initialized with the given char.
All instances will be returned to the pool when calling rechargePool
.
Puts all objects that were previously returned by either of the "...fromPool" methods back into the pool.
Returns an empty Vector for "BitmapCharLocation" instances from the pool.
All vectors will be returned to the pool when calling rechargePool
.
Generated using TypeDoc
A helper class referencing a BitmapChar and properties about its location and size.
This class is used and returned by
BitmapFont.arrangeChars()
. It's typically only needed for advanced changes to Starling's default text composition mechanisms.This class supports object pooling. All instances returned by the methods
instanceFromPool
andvectorFromPool
are returned to the respective pool when callingrechargePool
.