Packageorg.openscales.core.handler.feature.draw
Classpublic class DrawSegmentHandler
InheritanceDrawSegmentHandler Inheritance DrawPathHandler Inheritance AbstractDrawHandler Inheritance Handler Inheritance Object
Subclasses Azimuth



Public Properties
 PropertyDefined By
 Inheritedactive : Boolean
Getter and setter of the boolean defining the activity of the handler
Handler
 InheritedcurrentLineStringFeature : LineStringFeature
DrawPathHandler
 InheriteddrawContainer : Sprite
[read-only]
DrawPathHandler
 InheriteddrawLayer : VectorLayer
The layer concerned by the drawing Operation
AbstractDrawHandler
 Inheritedid : Number
DrawPathHandler
 InheritedlastPoint : Point
DrawPathHandler
 InheritedlineString : LineString
DrawPathHandler
 Inheritedmap : Map
[override]
DrawPathHandler
 InheritednewFeature : Boolean
DrawPathHandler
 InheritedstartPoint : Pixel
DrawPathHandler
 Inheritedstyle : Style
The style of the path
DrawPathHandler
 InheritedtoggleHandlerActivity : Function
Getter and setter of the callback function used when the handler's activity changes
Handler
Protected Properties
 PropertyDefined By
 Inherited_currentLineStringFeature : LineStringFeature = null
The LineStringfeature currently drawn
DrawPathHandler
Public Methods
 MethodDefined By
  
DrawSegmentHandler(map:Map = null, active:Boolean = false, drawLayer:VectorLayer = null)
DrawSegmentHandler
 Inherited
Finish the LineString
DrawPathHandler
 Inherited
mouseDblClick(Lastpx:Pixel = null):void
This function occured when a double click occured during the drawing operation
DrawPathHandler
 Inherited
temporaryLine(evt:MouseEvent):void
Update the temporary line
DrawPathHandler
Protected Methods
 MethodDefined By
  
drawLine(event:MouseEvent = null):void
[override]
DrawSegmentHandler
 Inherited
[override]
DrawPathHandler
 Inherited
[override]
DrawPathHandler
 Inherited
DrawPathHandler
Constructor Detail
DrawSegmentHandler()Constructor
public function DrawSegmentHandler(map:Map = null, active:Boolean = false, drawLayer:VectorLayer = null)



Parameters
map:Map (default = null)
 
active:Boolean (default = false)
 
drawLayer:VectorLayer (default = null)
Method Detail
drawLine()method
override protected function drawLine(event:MouseEvent = null):void

Parameters

event:MouseEvent (default = null)