C# Class Dalssoft.DiagramNet.RectangleController

This class is the controller for RectangleElement
Inheritance: IController, IMoveController, IResizeController
显示文件 Open project: AlexandrSurkov/PKStudio Class Usage Examples

Protected Properties

Property Type Description
canMove bool
canResize bool
dragOffset Point
el BaseElement
isDragging bool
selCorner CornerPosition
selectionCorner Dalssoft.DiagramNet.RectangleElement[]

Private Properties

Property Type Description
IResizeController CornerPosition

Public Methods

Method Description
DrawSelection ( Graphics g ) : void
HitTest ( Point p ) : bool
HitTest ( Rectangle r ) : bool
RectangleController ( BaseElement element ) : System

Protected Methods

Method Description
IMoveController ( ) : void
IMoveController ( Point posStart ) : void
IResizeController ( ) : void
IResizeController ( Point posCurrent ) : void
IResizeController ( Point posStart, CornerPosition corner ) : void

Private Methods

Method Description
IResizeController ( Point p ) : CornerPosition

Method Details

DrawSelection() public method

public DrawSelection ( Graphics g ) : void
g System.Drawing.Graphics
return void

HitTest() public method

public HitTest ( Point p ) : bool
p Point
return bool

HitTest() public method

public HitTest ( Rectangle r ) : bool
r System.Drawing.Rectangle
return bool

IMoveController() protected method

protected IMoveController ( ) : void
return void

IMoveController() protected method

protected IMoveController ( Point posStart ) : void
posStart Point
return void

IResizeController() protected method

protected IResizeController ( ) : void
return void

IResizeController() protected method

protected IResizeController ( Point posCurrent ) : void
posCurrent Point
return void

IResizeController() protected method

protected IResizeController ( Point posStart, CornerPosition corner ) : void
posStart Point
corner CornerPosition
return void

RectangleController() public method

public RectangleController ( BaseElement element ) : System
element BaseElement
return System

Property Details

canMove protected_oe property

protected bool canMove
return bool

canResize protected_oe property

protected bool canResize
return bool

dragOffset protected_oe property

protected Point dragOffset
return Point

el protected_oe property

protected BaseElement,Dalssoft.DiagramNet el
return BaseElement

isDragging protected_oe property

protected bool isDragging
return bool

selCorner protected_oe property

protected CornerPosition selCorner
return CornerPosition

selectionCorner protected_oe property

protected RectangleElement[],Dalssoft.DiagramNet selectionCorner
return Dalssoft.DiagramNet.RectangleElement[]