Packagenet.systemeD.halcyon
Classpublic class Elastic

The elastic is a visual indication of a way that the user is currently in the process of drawing.



Public Properties
 PropertyDefined by
  end : Point
Elastic
  map : Map
Elastic
  sprites : Array
Elastic
  start : Point
Elastic
Public Methods
 MethodDefined by
  
Elastic(map:Map, start:Point, end:Point)
Create and draw the elastic.
Elastic
  
redraw():void
Draws the elastic - a dashed line on the highest paint layer.
Elastic
  
Remove all currently existing sprites
Elastic
Property detail
endproperty
end:Point  [read-write]Implementation
    public function get end():Point
    public function set end(value:Point):void
mapproperty 
public var map:Map
spritesproperty 
public var sprites:Array
startproperty 
start:Point  [read-write]Implementation
    public function get start():Point
    public function set start(value:Point):void
Constructor detail
Elastic()constructor
public function Elastic(map:Map, start:Point, end:Point)

Create and draw the elastic.

Parameters
map:Map
 
start:Point
 
end:Point
Method detail
redraw()method
public function redraw():void

Draws the elastic - a dashed line on the highest paint layer.

removeSprites()method 
public function removeSprites():void

Remove all currently existing sprites