| Property | Defined by | ||
|---|---|---|---|
| chSize : Number = -1 | Measure | ||
| emSize : Number = -1 | Measure | ||
| exSize : Number = -1 | Measure | ||
| unit : String | Measure | ||
| value : Number | Measure | ||
| Method | Defined by | ||
|---|---|---|---|
|
Measure(value:Number = 0, unit:String)
| Measure | ||
|
relativeTo(length:Number, object:Object = null):Number
| Measure | ||
|
toString():String
| Measure | ||
|
valueOf():Number
| Measure | ||
| Constant | Defined by | ||
|---|---|---|---|
| CENTIMETERS : String = "centimeters" [static]
| Measure | ||
| CH : String = "ch" [static]
| Measure | ||
| DEGREES : String = "degrees" [static]
| Measure | ||
| EM : String = "em" [static]
| Measure | ||
| EX : String = "ex" [static]
| Measure | ||
| INCHES : String = "inches" [static]
| Measure | ||
| MILLIMETERS : String = "millimeters" [static]
| Measure | ||
| PERCENT : String = "percent" [static]
| Measure | ||
| PICAS : String = "picas" [static]
| Measure | ||
| PIXELS : String = "pixels" [static]
| Measure | ||
| POINTS : String = "points" [static]
| Measure | ||
| RATIO : String = "ratio" [static]
| Measure | ||
| chSize | property |
public var chSize:Number = -1
| emSize | property |
public var emSize:Number = -1
| exSize | property |
public var exSize:Number = -1
| unit | property |
public var unit:String
| value | property |
public var value:Number
| Measure | () | constructor |
public function Measure(value:Number = 0, unit:String)Parameters
value:Number (default = 0) |
|
unit:String |
| relativeTo | () | method |
public function relativeTo(length:Number, object:Object = null):NumberParameters
length:Number |
|
object:Object (default = null) |
Number |
| toString | () | method |
public function toString():String
Returns
String |
| valueOf | () | method |
public function valueOf():Number
Returns
Number |
| CENTIMETERS | constant |
public static const CENTIMETERS:String = "centimeters"
| CH | constant |
public static const CH:String = "ch"
| DEGREES | constant |
public static const DEGREES:String = "degrees"
| EM | constant |
public static const EM:String = "em"
| EX | constant |
public static const EX:String = "ex"
| INCHES | constant |
public static const INCHES:String = "inches"
| MILLIMETERS | constant |
public static const MILLIMETERS:String = "millimeters"
| PERCENT | constant |
public static const PERCENT:String = "percent"
| PICAS | constant |
public static const PICAS:String = "picas"
| PIXELS | constant |
public static const PIXELS:String = "pixels"
| POINTS | constant |
public static const POINTS:String = "points"
| RATIO | constant |
public static const RATIO:String = "ratio"