The Font class is used to manage embedded fonts in SWF files. Embedded fonts are represented as a subclass of the Font class. The Font class is currently useful only to find out information about embedded fonts; you cannot alter a font by using this class. You cannot use the Font class to load external fonts, or to create an instance of a Font object by itself. Use the Font class as an abstract base class.
Constructor
Variables
Static methods
staticenumerateFonts (enumerateDeviceFonts:Bool = false):Array<Font>
Specifies whether to provide a list of the currently available embedded fonts.
Parameters:
enumerateDeviceFonts | Indicates whether you want to limit the list
to only the currently available embedded
fonts. If this is set to |
---|
Returns:
A list of available fonts as an array of Font objects.