C# Class BoxDiagrams.TextBox

Inheritance: Shape
Mostrar archivo Open project: qwertie/ecsharp

Public Properties

Property Type Description
_isPanel bool

Protected Properties

Property Type Description
SelAdornerFillStyle DrawStyle
SelAdornerLineStyle DrawStyle

Public Methods

Method Description
AddAdornersTo ( ICollection list, SelType selMode, Loyc.Geometry.Vector hitTestRadius ) : void
AddLLShapesTo ( ICollection list ) : void
AppendTextAction ( string text ) : DoOrUndo
Clone ( ) : Shape
DoubleClickAction ( Util htr ) : DoOrUndo
DragMoveAction ( Util htr_, Loyc.Geometry.Vector amount ) : DoOrUndo
GetClearTextAction ( ) : DoOrUndo
GetNearestAnchor ( Loyc.Geometry.Point p, int exitAngleMod8 = -1 ) : Anchor
HitTest ( Loyc.Geometry.Point pos, Loyc.Geometry.Vector hitTestRadius, SelType sel ) : Util.WinForms.HitTestResult
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
PlainText ( ) : string
SetBBox ( BoundingBox bb ) : void
TextBox ( BoundingBox bbox ) : System

Private Methods

Method Description
AddCornerAdorner ( ICollection list, Loyc.Geometry.Point point, Loyc.Geometry.Vector vector ) : void
P ( float x, float y ) : Loyc.Geometry.Point
TextBox ( ) : System

Method Details

AddAdornersTo() public method

public AddAdornersTo ( ICollection list, SelType selMode, Loyc.Geometry.Vector hitTestRadius ) : void
list ICollection
selMode SelType
hitTestRadius Loyc.Geometry.Vector
return void

AddLLShapesTo() public method

public AddLLShapesTo ( ICollection list ) : void
list ICollection
return void

AppendTextAction() public method

public AppendTextAction ( string text ) : DoOrUndo
text string
return DoOrUndo

Clone() public method

public Clone ( ) : Shape
return Shape

DoubleClickAction() public method

public DoubleClickAction ( Util htr ) : DoOrUndo
htr Util
return DoOrUndo

DragMoveAction() public method

public DragMoveAction ( Util htr_, Loyc.Geometry.Vector amount ) : DoOrUndo
htr_ Util
amount Loyc.Geometry.Vector
return DoOrUndo

GetClearTextAction() public method

public GetClearTextAction ( ) : DoOrUndo
return DoOrUndo

GetNearestAnchor() public method

public GetNearestAnchor ( Loyc.Geometry.Point p, int exitAngleMod8 = -1 ) : Anchor
p Loyc.Geometry.Point
exitAngleMod8 int
return Anchor

HitTest() public method

public HitTest ( Loyc.Geometry.Point pos, Loyc.Geometry.Vector hitTestRadius, SelType sel ) : Util.WinForms.HitTestResult
pos Loyc.Geometry.Point
hitTestRadius Loyc.Geometry.Vector
sel SelType
return Util.WinForms.HitTestResult

OnKeyDown() public method

public OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyPress() public method

public OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
return void

PlainText() public method

public PlainText ( ) : string
return string

SetBBox() public method

public SetBBox ( BoundingBox bb ) : void
bb BoundingBox
return void

TextBox() public method

public TextBox ( BoundingBox bbox ) : System
bbox BoundingBox
return System

Property Details

SelAdornerFillStyle protected_oe static_oe property

protected static DrawStyle SelAdornerFillStyle
return DrawStyle

SelAdornerLineStyle protected_oe static_oe property

protected static DrawStyle SelAdornerLineStyle
return DrawStyle

_isPanel public_oe property

public bool _isPanel
return bool