UNPKG

starling-framework

Version:

A fast, productive library for 2D cross-platform development.

22 lines 789 B
declare namespace starling.text { /** * This class is an enumeration of possible types of bitmap fonts. */ export class BitmapFontType { /** * A standard bitmap font uses a regular RGBA texture containing all glyphs. */ static readonly STANDARD = "standard"; /** * Indicates that the font texture contains a single channel distance field texture * * to be rendered with the <em>DistanceFieldStyle</em>. */ static readonly DISTANCE_FIELD = "distanceField"; /** * Indicates that the font texture contains a multi channel distance field texture * * to be rendered with the <em>DistanceFieldStyle</em>. */ static readonly MULTI_CHANNEL_DISTANCE_FIELD = "multiChannelDistanceField"; } } export default starling.text.BitmapFontType;