| Package | flash.text |
| Class | public class TextExtent |
| Inheritance | TextExtent Object |
| Runtime version: |
TextFormat.getTextExtent method.
| 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 | ||
| 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 | |
| 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
| 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 |