C# Class SuperMap.Web.Actions.DrawPolygon

${ui_action_DrawPolygon_Title}。

${ui_action_DrawPolygon_Description_sl}

Inheritance: MapAction, IDrawStyle
Datei anzeigen Open project: SuperMap/iClient-for-Silverlight Class Usage Examples

Private Properties

Property Type Description
Activate void
OnDrawCompleted void
endDraw void

Public Methods

Method Description
Deactivate ( ) : void

${ui_action_MapAction_method_deactivate_D}

DrawPolygon ( Map map ) : System

${ui_action_DrawPolygon_constructor_Map_D}

DrawPolygon ( Map map, System.Windows.Input.Cursor cursor ) : System

${ui_action_DrawPolygon_constructor_Map_D}

OnDblClick ( System.Windows.Input.MouseButtonEventArgs e ) : void

${ui_action_MapAction_event_onDblClick_D}

OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

${ui_action_DrawPolygon_event_OnKeyDown_D}

OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

${ui_action_MapAction_event_onMouseDown_D}

OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

${ui_action_MapAction_event_onMouseMove_D}

OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

${ui_action_DrawPolygon_event_OnMouseRightButtonDown_D}

Private Methods

Method Description
Activate ( Point2D firstPoint ) : void
OnDrawCompleted ( DrawEventArgs args ) : void
endDraw ( bool isDblClick = false, bool isCancel = false ) : void

Method Details

Deactivate() public method

${ui_action_MapAction_method_deactivate_D}
public Deactivate ( ) : void
return void

DrawPolygon() public method

${ui_action_DrawPolygon_constructor_Map_D}
public DrawPolygon ( Map map ) : System
map SuperMap.Web.Mapping.Map ${ui_action_DrawPolygon_constructor_Map_param_map}
return System

DrawPolygon() public method

${ui_action_DrawPolygon_constructor_Map_D}
public DrawPolygon ( Map map, System.Windows.Input.Cursor cursor ) : System
map SuperMap.Web.Mapping.Map ${ui_action_DrawPolygon_constructor_Map_param_map}
cursor System.Windows.Input.Cursor ${ui_action_MapAction_constructor_Map_param_cursor}
return System

OnDblClick() public method

${ui_action_MapAction_event_onDblClick_D}
public OnDblClick ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onDblClick_param_e}
return void

OnKeyDown() public method

${ui_action_DrawPolygon_event_OnKeyDown_D}
public OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${ui_action_DrawPolygon_event_OnKeyDown_param_e}
return void

OnMouseLeftButtonDown() public method

${ui_action_MapAction_event_onMouseDown_D}
public OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onMouseDown_param_e}
return void

OnMouseMove() public method

${ui_action_MapAction_event_onMouseMove_D}
public OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs ${ui_action_MapAction_event_onMouseMove_param_e}
return void

OnMouseRightButtonDown() public method

${ui_action_DrawPolygon_event_OnMouseRightButtonDown_D}
public OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_DrawPolygon_event_OnMouseRightButtonDown_param_e}
return void