| Package | flash.text |
| Class | public class Font |
| Inheritance | Font Object |
| Property | Defined by | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| fontName : String
[read-only]
The name of this font.
| Font | ||
| fontStyle : String
[read-only]
The style of this font.
| Font | ||
| fontType : String
[read-only]
The type of this font.
| Font | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| Function | Defined by | ||
|---|---|---|---|
|
[static]
Return a list of available embedded fonts, as an array of Font objects.
| Font | ||
|
Returns
true if the specified string can be fully displayed using this font. | Font | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
|
[static]
Register a font class in the global font list.
| Font | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
fontName:String [read-only] public function get fontName():String
fontStyle:String [read-only] public function get fontStyle():String
| flash.text.FontStyle |
fontType:String [read-only] public function get fontType():String
| flash.text.FontType |
public static function enumerateFonts(enumerateDeviceFonts:Boolean = false):Array
enumerateDeviceFonts:Boolean (default = false) |
Array |
public function hasGlyphs(str:String):Boolean
true if the specified string can be fully displayed using this font.
Parameters
str:String |
Boolean |
public static function registerFont(font:Class):void
font:Class |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/flashauthoringpreview/flash/text/Font.html