Font.hx 551 B

1234567891011121314
  1. package flash.text;
  2. extern class Font {
  3. @:flash.property var fontName(get,never) : String;
  4. @:flash.property var fontStyle(get,never) : FontStyle;
  5. @:flash.property var fontType(get,never) : FontType;
  6. function new() : Void;
  7. private function get_fontName() : String;
  8. private function get_fontStyle() : FontStyle;
  9. private function get_fontType() : FontType;
  10. function hasGlyphs(str : String) : Bool;
  11. static function enumerateFonts(enumerateDeviceFonts : Bool = false) : Array<Font>;
  12. static function registerFont(font : Class<Dynamic>) : Void;
  13. }