| Property | Defined By | ||
|---|---|---|---|
| unit : Unit
The unit of this length. | Length | ||
| value : Number
The numeric value of this length. | Length | ||
| Method | Defined By | ||
|---|---|---|---|
| Length | |||
| Length | |||
isEmpty():Boolean | Length | ||
toPixelLength(containerLength:Number = 0):Number | Length | ||
| unit | property |
unit:UnitThe unit of this length.
public function get unit():Unit public function set unit(value:Unit):void| value | property |
value:NumberThe numeric value of this length.
public function get value():Number public function set value(value:Number):void| Length | () | Constructor |
public function Length(lengthUnit:Unit = null, val:Number = 0)lengthUnit:Unit (default = null) | |
val:Number (default = 0) |
| equals | () | method |
| isEmpty | () | method |
public function isEmpty():BooleanReturnsBoolean |
| toPixelLength | () | method |
public function toPixelLength(containerLength:Number = 0):NumberParameters
containerLength:Number (default = 0) |
Number |