Packagecom.esri.ags.events
Classpublic class DrawEvent
InheritanceDrawEvent Inheritance flash.events.Event

Represents event objects that are specific to the draw toolbar.

See also

com.esri.ags.toolbars.Draw


Public Properties
 PropertyDefined by
  graphic : Graphic
The drawn graphic
DrawEvent
Public Methods
 MethodDefined by
  
DrawEvent(type:String, graphic:Graphic = null)
Creates a new DrawEvent.
DrawEvent
Public Constants
 ConstantDefined by
  DRAW_END : String = "drawEnd"
[static] Defines the value of the type property of a drawEnd event object.
DrawEvent
  DRAW_START : String = "drawStart"
[static] Defines the value of the type property of a drawStart event object.
DrawEvent
Property detail
graphicproperty
public var graphic:Graphic

The drawn graphic

See also

Constructor detail
DrawEvent()constructor
public function DrawEvent(type:String, graphic:Graphic = null)

Creates a new DrawEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
graphic:Graphic (default = null) — The drawn graphic.
Constant detail
DRAW_ENDconstant
public static const DRAW_END:String = "drawEnd"

Defines the value of the type property of a drawEnd event object.

DRAW_STARTconstant 
public static const DRAW_START:String = "drawStart"

Defines the value of the type property of a drawStart event object.