C# Class LunarEclipse.Model.ResizeHandle

Inheritance: TransformHandle
ファイルを表示 Open project: mono/lunareclipse

Public Methods

Method Description
MouseStep ( object sender, System.Windows.Input.MouseEventArgs args ) : void
ResizeHandle ( MoonlightController controller, IHandleGroup group, ILocator locator ) : System

Protected Methods

Method Description
CalculateNewBounds ( Rect oldBounds, Point offset, double cosAngle, double sinAngle ) : Rect
CreateContent ( ) : UIElement

Private Methods

Method Description
TransformOffset ( Point offset, double angle ) : Point

Method Details

CalculateNewBounds() protected abstract method

protected abstract CalculateNewBounds ( Rect oldBounds, Point offset, double cosAngle, double sinAngle ) : Rect
oldBounds System.Windows.Rect
offset Point
cosAngle double
sinAngle double
return System.Windows.Rect

CreateContent() protected method

protected CreateContent ( ) : UIElement
return UIElement

MouseStep() public method

public MouseStep ( object sender, System.Windows.Input.MouseEventArgs args ) : void
sender object
args System.Windows.Input.MouseEventArgs
return void

ResizeHandle() public method

public ResizeHandle ( MoonlightController controller, IHandleGroup group, ILocator locator ) : System
controller LunarEclipse.Controller.MoonlightController
group IHandleGroup
locator ILocator
return System