Package | flash.text |
Class | public class TextExtent |
Inheritance | TextExtent Object |
Runtime Versions: | AIR 1.0 Flash Player 9 |
TextFormat.getTextExtent
method.
Public Properties
Property | Defined By | ||
---|---|---|---|
ascent : Number | TextExtent | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
descent : Number | TextExtent | ||
height : Number | TextExtent | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
textFieldHeight : Number | TextExtent | ||
textFieldWidth : Number | TextExtent | ||
width : Number | TextExtent |
Public Methods
Method | Defined By | ||
---|---|---|---|
TextExtent | |||
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 | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
ascent | property |
public var ascent:Number
descent | property |
public var descent:Number
height | property |
public var height:Number
textFieldHeight | property |
public var textFieldHeight:Number
textFieldWidth | property |
public var textFieldWidth:Number
width | property |
public var width:Number
Constructor Detail
TextExtent | () | Constructor |
public function TextExtent(width:Number, height:Number, textFieldWidth:Number, textFieldHeight:Number, ascent:Number, descent:Number)
Parameters
width:Number | |
height:Number | |
textFieldWidth:Number | |
textFieldHeight:Number | |
ascent:Number | |
descent:Number |
Thu May 20 2010, 02:19 AM -07:00