UNPKG

awayjs-display

Version:
26 lines (25 loc) 1.05 kB
/** * The AntiAliasType class provides values for anti-aliasing in the * away.text.TextField class. */ export class AntiAliasType { /** * Sets anti-aliasing to advanced anti-aliasing. Advanced anti-aliasing * allows font faces to be rendered at very high quality at small sizes. It * is best used with applications that have a lot of small text. Advanced * anti-aliasing is not recommended for very large fonts(larger than 48 * points). This constant is used for the <code>antiAliasType</code> property * in the TextField class. Use the syntax * <code>AntiAliasType.ADVANCED</code>. */ public static ADVANCED:string = "advanced"; /** * Sets anti-aliasing to the anti-aliasing that is used in Flash Player 7 and * earlier. This setting is recommended for applications that do not have a * lot of text. This constant is used for the <code>antiAliasType</code> * property in the TextField class. Use the syntax * <code>AntiAliasType.NORMAL</code>. */ public static NORMAL:string = "normal"; }