The elastic is a visual indication of a way that the user is currently in the process of drawing.
end:Point [read-write]Implementation
public function get end():Point
public function set end(value:Point):void
public var sprites:Array
start:Point [read-write]Implementation
public function get start():Point
public function set start(value:Point):void
public function Elastic(map:Map, start:Point, end:Point) Create and draw the elastic.
Parameters
| map:Map |
| |
| start:Point |
| |
| end:Point |
public function redraw():void Draws the elastic - a dashed line on the highest paint layer.
public function removeSprites():void Remove all currently existing sprites
Found an error? Help us fix it. http://wiki.openstreetmap.org/wiki/Potlatch2