C# Class LunarEclipse.Model.ShapeCreationTool

Inheritance: ElementCreationTool
Show file Open project: mono/lunareclipse

Public Methods

Method Description
MouseDown ( System.Windows.Input.MouseEventArgs ev ) : void
MouseMove ( System.Windows.Input.MouseEventArgs ev ) : void
ShapeCreationTool ( MoonlightController controller ) : System.Windows

Protected Methods

Method Description
NormalizeShape ( double &x, double &y, double &width, double &height ) : void
UpdateShape ( ) : void

Method Details

MouseDown() public method

public MouseDown ( System.Windows.Input.MouseEventArgs ev ) : void
ev System.Windows.Input.MouseEventArgs
return void

MouseMove() public method

public MouseMove ( System.Windows.Input.MouseEventArgs ev ) : void
ev System.Windows.Input.MouseEventArgs
return void

NormalizeShape() protected method

protected NormalizeShape ( double &x, double &y, double &width, double &height ) : void
x double
y double
width double
height double
return void

ShapeCreationTool() public method

public ShapeCreationTool ( MoonlightController controller ) : System.Windows
controller LunarEclipse.Controller.MoonlightController
return System.Windows

UpdateShape() protected method

protected UpdateShape ( ) : void
return void