C# Class Rooler.DistanceTool

Interaction logic for DistanceAdorner.xaml
Inheritance: Tool, IScreenService
显示文件 Open project: FireCubeStudios/fluent-rooler-demo Class Usage Examples

Public Methods

Method Description
DistanceTool ( StretchMode stretch, IScreenServiceHost host ) : System
Update ( ) : void

Protected Methods

Method Description
Freeze ( ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
UpdateBounds ( IntRect screenBounds, IntPoint point ) : void

Private Methods

Method Description
Update ( bool force ) : void

Method Details

DistanceTool() public method

public DistanceTool ( StretchMode stretch, IScreenServiceHost host ) : System
stretch StretchMode
host IScreenServiceHost
return System

Freeze() protected method

protected Freeze ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnMouseLeftButtonDown() protected method

protected OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
e MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

Update() public method

public Update ( ) : void
return void

UpdateBounds() protected method

protected UpdateBounds ( IntRect screenBounds, IntPoint point ) : void
screenBounds IntRect
point IntPoint
return void