UNPKG

@awayjs/scene

Version:
29 lines (28 loc) 1.18 kB
/** * The AntiAliasType class provides values for anti-aliasing in the * away.text.TextField class. */ var AntiAliasType = /** @class */ (function () { function 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>. */ AntiAliasType.ADVANCED = '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>. */ AntiAliasType.NORMAL = 'normal'; return AntiAliasType; }()); export { AntiAliasType };