C# Class Dalssoft.DiagramNet.RightAngleLinkController

This class is the controller for RightAngleLinkElement
Inheritance: IController, IMoveController, IResizeController, ILabelController
Datei anzeigen Open project: AlexandrSurkov/PKStudio Class Usage Examples

Protected Properties

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

Private Properties

Property Type Description
Dalssoft bool
IResizeController CornerPosition

Public Methods

Method Description
DrawSelection ( Graphics g ) : void
HitTest ( Point p ) : bool
RightAngleLinkController ( RightAngleLinkElement element ) : System
SetLabelPosition ( ) : void

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
Dalssoft ( Rectangle r ) : bool
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

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

RightAngleLinkController() public method

public RightAngleLinkController ( RightAngleLinkElement element ) : System
element RightAngleLinkElement
return System

SetLabelPosition() public method

public SetLabelPosition ( ) : void
return void

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 RightAngleLinkElement,Dalssoft.DiagramNet el
return RightAngleLinkElement

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[]