C# Class TpTrayUtility.Components.SelectionTool

Inheritance: Primitive
Show file Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
CanUndo ( ) : bool
CreationMouseDownHandler ( PointF point ) : void
CreationMouseMoveHandler ( PointF point ) : void
CreationMouseUpHandler ( PointF point ) : void
Draw ( Graphics g, float zoom, PointF offsetX, PointF offsetY ) : void
GeneratePropertyControl ( ) : PropertyControlBase
GetCursor ( PointF point ) : Cursor
GetLastModifiedRect ( ) : Rectangle
MouseDoubleClickHandler ( PointF point ) : void
MoveBy ( float dx, float dy ) : void
OnResize ( bool lastMove ) : void
SelectionTool ( ) : System.Collections.Generic
SetColor ( Color fore, Color back ) : void
ShapeToolLost ( ) : void
SpecialPoints ( ) : List
UpdatePropertyFromStaticData ( ) : void
UpdateSpecialPoint ( int id, PointF position ) : void
isPointIn ( PointF point ) : bool
isResizeble ( ) : bool
isValid ( ) : bool

Method Details

CanUndo() public method

public CanUndo ( ) : bool
return bool

CreationMouseDownHandler() public method

public CreationMouseDownHandler ( PointF point ) : void
point System.Drawing.PointF
return void

CreationMouseMoveHandler() public method

public CreationMouseMoveHandler ( PointF point ) : void
point System.Drawing.PointF
return void

CreationMouseUpHandler() public method

public CreationMouseUpHandler ( PointF point ) : void
point System.Drawing.PointF
return void

Draw() public method

public Draw ( Graphics g, float zoom, PointF offsetX, PointF offsetY ) : void
g System.Drawing.Graphics
zoom float
offsetX System.Drawing.PointF
offsetY System.Drawing.PointF
return void

GeneratePropertyControl() public method

public GeneratePropertyControl ( ) : PropertyControlBase
return PropertyControlBase

GetCursor() public method

public GetCursor ( PointF point ) : Cursor
point System.Drawing.PointF
return System.Windows.Forms.Cursor

GetLastModifiedRect() public method

public GetLastModifiedRect ( ) : Rectangle
return System.Drawing.Rectangle

MouseDoubleClickHandler() public method

public MouseDoubleClickHandler ( PointF point ) : void
point System.Drawing.PointF
return void

MoveBy() public method

public MoveBy ( float dx, float dy ) : void
dx float
dy float
return void

OnResize() public method

public OnResize ( bool lastMove ) : void
lastMove bool
return void

SelectionTool() public method

public SelectionTool ( ) : System.Collections.Generic
return System.Collections.Generic

SetColor() public method

public SetColor ( Color fore, Color back ) : void
fore System.Drawing.Color
back System.Drawing.Color
return void

ShapeToolLost() public method

public ShapeToolLost ( ) : void
return void

SpecialPoints() public method

public SpecialPoints ( ) : List
return List

UpdatePropertyFromStaticData() public method

public UpdatePropertyFromStaticData ( ) : void
return void

UpdateSpecialPoint() public method

public UpdateSpecialPoint ( int id, PointF position ) : void
id int
position System.Drawing.PointF
return void

isPointIn() public method

public isPointIn ( PointF point ) : bool
point System.Drawing.PointF
return bool

isResizeble() public method

public isResizeble ( ) : bool
return bool

isValid() public method

public isValid ( ) : bool
return bool