| Package | org.openscales.core.feature |
| Class | public class LineStringFeature |
| Inheritance | LineStringFeature Feature flash.display.Sprite |
| Property | Defined By | ||
|---|---|---|---|
![]() | attributes : Object | Feature | |
![]() | data : Object | Feature | |
![]() | dateCreation : String | Feature | |
![]() | geometry : Geometry | Feature | |
![]() | isEditable : Boolean
To know if the vector feature is editable when its
vector layer is in edit mode
| Feature | |
![]() | layer : VectorLayer | Feature | |
![]() | left : Number [read-only] | Feature | |
| lineString : LineString [read-only] | LineStringFeature | ||
![]() | lonlat : Location [read-only] | Feature | |
![]() | originalStyle : Style | Feature | |
![]() | selected : Boolean | Feature | |
![]() | state : String | Feature | |
![]() | style : Style | Feature | |
![]() | top : Number [read-only] | Feature | |
| Method | Defined By | ||
|---|---|---|---|
LineStringFeature(geom:LineString = null, data:Object = null, style:Style = null, isEditable:Boolean = false) | LineStringFeature | ||
![]() | atPoint(lonlat:Location, toleranceLon:Number, toleranceLat:Number):Boolean
Determines if the feature is placed at the given point with a certain tolerance (or not). | Feature | |
[override]
To obtain feature clone
| LineStringFeature | ||
![]() | compatibleFeatures(features:Vector.<Feature>):Boolean [static] | Feature | |
![]() | destroy():void
Method to destroy a the feature instance. | Feature | |
dottedTo(px1:Pixel, px2:Pixel, pWhiteSize:int, pDottedSize:int):void | LineStringFeature | ||
![]() | draw():void
The function allow to customize the display of this feature. | Feature | |
![]() | onMouseClick(pevt:MouseEvent):void | Feature | |
![]() | onMouseDoubleClick(pevt:MouseEvent):void | Feature | |
![]() | onMouseDown(pevt:MouseEvent):void | Feature | |
![]() | onMouseHover(pevt:MouseEvent):void
Events Management
| Feature | |
![]() | onMouseMove(pevt:MouseEvent):void | Feature | |
![]() | onMouseOut(pevt:MouseEvent):void | Feature | |
![]() | onMouseUp(pevt:MouseEvent):void | Feature | |
![]() | onScreen():Boolean
Determines if the feature is visible on the screen
| Feature | |
![]() | registerListeners():void | Feature | |
![]() | unregisterListeners():void | Feature | |
| Method | Defined By | ||
|---|---|---|---|
![]() | acceptSymbolizer(symbolizer:Symbolizer):Boolean | Feature | |
executeDrawing(symbolizer:Symbolizer):void [override] | LineStringFeature | ||
![]() | renderRule(rule:Rule):void | Feature | |
| lineString | property |
lineString:LineString [read-only] public function get lineString():LineString| LineStringFeature | () | Constructor |
public function LineStringFeature(geom:LineString = null, data:Object = null, style:Style = null, isEditable:Boolean = false)geom:LineString (default = null) | |
data:Object (default = null) | |
style:Style (default = null) | |
isEditable:Boolean (default = false) |
| clone | () | method |
| dottedTo | () | method |
public function dottedTo(px1:Pixel, px2:Pixel, pWhiteSize:int, pDottedSize:int):voidParameters
px1:Pixel | |
px2:Pixel | |
pWhiteSize:int | |
pDottedSize:int |
| executeDrawing | () | method |
override protected function executeDrawing(symbolizer:Symbolizer):voidParameters
symbolizer:Symbolizer |