UNPKG

starling-framework

Version:

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

29 lines (25 loc) 1.18 kB
// ================================================================================================= // // Starling Framework // Copyright Gamua GmbH. All Rights Reserved. // // This program is free software. You can redistribute and/or modify it // in accordance with the terms of the accompanying license agreement. // // ================================================================================================= 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. */ public static STANDARD:string; /** Indicates that the font texture contains a single channel distance field texture * to be rendered with the <em>DistanceFieldStyle</em>. */ public static DISTANCE_FIELD:string; /** Indicates that the font texture contains a multi channel distance field texture * to be rendered with the <em>DistanceFieldStyle</em>. */ public static MULTI_CHANNEL_DISTANCE_FIELD:string; } } export default starling.text.BitmapFontType;