Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BitmapCharLocation

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 and vectorFromPool are returned to the respective pool when calling rechargePool.

Hierarchy

  • BitmapCharLocation

Index

Constructors

constructor

Properties

char

The actual bitmap char to be drawn.

index

index: number

The index of this char in the processed String.

scale

scale: number

The scale with which the char must be placed.

x

x: number

The x-coordinate of the char's location.

y

y: number

The y-coordinate of the char's location.

Methods

Static instanceFromPool

Static rechargePool

  • rechargePool(): void

Static vectorFromPool

Generated using TypeDoc