| Package | com.esri.ags.tasks.supportClasses |
| Class | public class LinearUnit |
| Inheritance | LinearUnit flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| distance : Number
Specifies the value of the linear distance. | LinearUnit | ||
| units : String
Specifies the unit type of the linear distance, such as "esriMeters", "esriMiles", "esriKilometers" etc. | LinearUnit | ||
| Method | Defined By | ||
|---|---|---|---|
LinearUnit(distance:Number = 0, units:String = null)
Creates a new LinearUnit object. | LinearUnit | ||
| distance | property |
distance:NumberSpecifies the value of the linear distance.
This property can be used as the source for data binding.
public function get distance():Number public function set distance(value:Number):void| units | property |
units:StringSpecifies the unit type of the linear distance, such as "esriMeters", "esriMiles", "esriKilometers" etc.
This property can be used as the source for data binding.
public function get units():String public function set units(value:String):void| LinearUnit | () | Constructor |
public function LinearUnit(distance:Number = 0, units:String = null)Creates a new LinearUnit object.
Parametersdistance:Number (default = 0) — The distance.
| |
units:String (default = null) — The distance units.
|