C# Class SelectionRectHandler, uFrame.Editor

Inheritance: Drawer, IInputHandler
显示文件 Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
CreateSelectionRect ( Vector2 start, Vector2 current ) : Rect
Draw ( IPlatformDrawer platform, float scale ) : void
OnMouseDoubleClick ( MouseEvent mouseEvent ) : void
OnMouseDown ( MouseEvent mouseEvent ) : void
OnMouseMove ( MouseEvent e ) : void
OnMouseUp ( MouseEvent mouseEvent ) : void
SelectionRectHandler ( DiagramViewModel diagram ) : System.Linq

Method Details

CreateSelectionRect() public static method

public static CreateSelectionRect ( Vector2 start, Vector2 current ) : Rect
start Vector2
current Vector2
return Rect

Draw() public method

public Draw ( IPlatformDrawer platform, float scale ) : void
platform IPlatformDrawer
scale float
return void

OnMouseDoubleClick() public method

public OnMouseDoubleClick ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
return void

OnMouseDown() public method

public OnMouseDown ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
return void

OnMouseMove() public method

public OnMouseMove ( MouseEvent e ) : void
e MouseEvent
return void

OnMouseUp() public method

public OnMouseUp ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
return void

SelectionRectHandler() public method

public SelectionRectHandler ( DiagramViewModel diagram ) : System.Linq
diagram Invert.Core.GraphDesigner.DiagramViewModel
return System.Linq