BitmapFontTextFormat
public class
feathers.text.BitmapFontTextFormat
Description
Customizes a bitmap font for use by a BitmapFontTextRenderer.
API overview
Constructor
BitmapFontTextFormat
(
_font: Object
,
_size: Number
=
,
_color: Number
= 0xff00ff
,
_bold: Boolean
= false
,
_align: String
= left
)
Constructor.
Attributes
Public attributes
| align: String |
Determines the alignment of the text, either left, center, or right |
| color: Number |
The multiply color |
| font: BitmapFont |
The BitmapFont instance to use |
| fontName: String |
read-only
Go back to TextFormatAlign.LEFT when LOOM-1441 is fixed |
| isKerningEnabled: Boolean |
Determines if the kerning values defined in the BitmapFont instance will be used for layout |
| letterSpacing: Number |
The number of extra pixels between characters |
| size: Number |
The size at which to display the bitmap font |
Constructor
Attributes
Functions
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |