C# Class SuperMap.Web.Actions.DrawFreeLine

${ui_action_DrawFreeHandLine_Title}

${ui_action_DrawFreeHandLine_Description_sl}

Inheritance: MapAction, IDrawStyle
显示文件 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}

DrawFreeLine ( Map map ) : System

${ui_action_DrawFreeHandPolygon_constructor_Map_D}

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

${ui_action_DrawFreeHandPolygon_constructor_Map_D}

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

${ui_action_DrawFreeLine_event_OnDblClick_D}

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

${ui_action_DrawFreeLine_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 firstPoint ) : 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

DrawFreeLine() public method

${ui_action_DrawFreeHandPolygon_constructor_Map_D}
public DrawFreeLine ( Map map ) : System
map SuperMap.Web.Mapping.Map ${ui_action_DrawFreeHandPolygon_constructor_Map_param_map}
return System

DrawFreeLine() public method

${ui_action_DrawFreeHandPolygon_constructor_Map_D}
public DrawFreeLine ( Map map, System.Windows.Input.Cursor cursor ) : System
map SuperMap.Web.Mapping.Map ${ui_action_DrawFreeHandPolygon_constructor_Map_param_map}
cursor System.Windows.Input.Cursor ${ui_action_MapAction_constructor_Map_param_cursor}
return System

OnDblClick() public method

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

OnKeyDown() public method

${ui_action_DrawFreeLine_event_OnKeyDown_D}
public OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${ui_action_DrawFreeLine_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