Packageflash.text
Classpublic final class FontStyle
InheritanceFontStyle Inheritance Object

A class that provides values for the flash.text.TextRenderer class.

See also
flash.text.TextRenderer


Public Constants
 PropertyDefined by
  BOLD : String = "bold"
[static] Defines the bold style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method.
FontStyle
  BOLD_ITALIC : String = "boldItalic"
[static] Defines the combined bold and italic style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method.
FontStyle
  ITALIC : String = "italic"
[static] Defines the italic style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method.
FontStyle
  REGULAR : String = "regular"
[static] Defines the plain style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method.
FontStyle
Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties
 PropertyDefined by
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods
 FunctionDefined by
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constant detail
BOLD constant
public static const BOLD:String = "bold"

Defines the bold style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.BOLD.

See also
flash.text.TextRenderer.setAdvancedAntiAliasingTable()
BOLD_ITALIC constant
public static const BOLD_ITALIC:String = "boldItalic"

Defines the combined bold and italic style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.BOLD_ITALIC.

See also
flash.text.TextRenderer.setAdvancedAntiAliasingTable()
ITALIC constant
public static const ITALIC:String = "italic"

Defines the italic style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.ITALIC.

See also
flash.text.TextRenderer.setAdvancedAntiAliasingTable()
REGULAR constant
public static const REGULAR:String = "regular"

Defines the plain style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.NONE.

See also
flash.text.TextRenderer.setAdvancedAntiAliasingTable()




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/labs/flashauthoringpreview/flash/text/FontStyle.html