C# Class GraphicEditor.Model.ToolBehavior.LineTool

Inheritance: GraphicTool
显示文件 Open project: msCube/Gallery

Public Methods

Method Description
LineTool ( GraphicContent graphicContent ) : System.Windows
MouseDownHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
MouseMoveHandler ( object sender, System.Windows.Input.MouseEventArgs e ) : void
MouseUpHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Private Methods

Method Description
ReCreateLine ( ) : void

Method Details

LineTool() public method

public LineTool ( GraphicContent graphicContent ) : System.Windows
graphicContent GraphicContent
return System.Windows

MouseDownHandler() public method

public MouseDownHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

MouseMoveHandler() public method

public MouseMoveHandler ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
return void

MouseUpHandler() public method

public MouseUpHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void