C# Class SuperMap.Web.Actions.DrawRectangle

${ui_action_DrawRect_Title}。

${ui_action_DrawRect_Description_sl}

Inheritance: MapAction, IDrawStyle
Mostra file 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}

DrawRectangle ( ) : System

${ui_action_DrawRect_constructor_None_D}

DrawRectangle ( Map map ) : System

${ui_action_DrawRect_constructor_Map_D}

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

${ui_action_DrawRect_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_DrawRect_event_OnKeyDown_D}

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

${ui_action_MapAction_event_onMouseDown_D}

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

${ui_action_MapAction_event_onMouseUp_D}

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

${ui_action_MapAction_event_onMouseMove_D}

Private Methods

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

Method Details

Deactivate() public method

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

DrawRectangle() public method

${ui_action_DrawRect_constructor_None_D}
public DrawRectangle ( ) : System
return System

DrawRectangle() public method

${ui_action_DrawRect_constructor_Map_D}
public DrawRectangle ( Map map ) : System
map SuperMap.Web.Mapping.Map ${ui_action_DrawRect_constructor_Map_param_map}
return System

DrawRectangle() public method

${ui_action_DrawRect_constructor_Map_D}
public DrawRectangle ( Map map, System.Windows.Input.Cursor cursor ) : System
map SuperMap.Web.Mapping.Map ${ui_action_DrawRect_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_DrawRect_event_OnKeyDown_D}
public OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${ui_action_DrawRect_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

OnMouseLeftButtonUp() public method

${ui_action_MapAction_event_onMouseUp_D}
public OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onMouseUp_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