Packagefeathers.controls.text
Classpublic class MeasureTextResult
InheritanceMeasureTextResult Inheritance Object

Product Version : Feathers 3.0.0

The result of text measurement.



Public Properties
 PropertyDefined By
  height : Number
The measured height of the text.
MeasureTextResult
  isTruncated : Boolean
Indicates if the text needed to be truncated.
MeasureTextResult
  width : Number
The measured width of the text.
MeasureTextResult
Public Methods
 MethodDefined By
  
MeasureTextResult(width:Number = 0, height:Number = 0, isTruncated:Boolean = false)
Constructor.
MeasureTextResult
Property Detail
heightproperty
public var height:Number

The measured height of the text.

isTruncatedproperty 
public var isTruncated:Boolean

Indicates if the text needed to be truncated.

widthproperty 
public var width:Number

The measured width of the text.

Constructor Detail
MeasureTextResult()Constructor
public function MeasureTextResult(width:Number = 0, height:Number = 0, isTruncated:Boolean = false)

Constructor.

Parameters
width:Number (default = 0)
 
height:Number (default = 0)
 
isTruncated:Boolean (default = false)