C# 클래스 TpTrayUtility.Components.Box

상속: Primitive
파일 보기 프로젝트 열기: TargetProcess/Tp.TrayUtility 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
borderColor Color
borderColorGlobal Color
borderSize int
borderSizeGlobal int

공개 메소드들

메소드 설명
Box ( ) : System
CanUndo ( ) : bool
CreationMouseDownHandler ( PointF point ) : void
CreationMouseMoveHandler ( PointF point ) : void
CreationMouseUpHandler ( PointF point ) : void
Draw ( Graphics g, float zoom, PointF offset, PointF zoomPosition ) : void
EditFinishing ( object sender, EventArgs e ) : void
GeneratePropertyControl ( ) : PropertyControlBase
GetCursor ( PointF point ) : Cursor
MouseDoubleClickHandler ( PointF point ) : void
MoveBy ( float dx, float dy ) : void
OnResize ( bool lastMove ) : void
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

비공개 메소드들

메소드 설명
Distance ( Point p1, Point p2 ) : double
SwitchToEdit ( ) : void
SwitchToView ( ) : void
UpdateTextControlSize ( ) : void

메소드 상세

Box() 공개 메소드

public Box ( ) : System
리턴 System

CanUndo() 공개 메소드

public CanUndo ( ) : bool
리턴 bool

CreationMouseDownHandler() 공개 메소드

public CreationMouseDownHandler ( PointF point ) : void
point System.Drawing.PointF
리턴 void

CreationMouseMoveHandler() 공개 메소드

public CreationMouseMoveHandler ( PointF point ) : void
point System.Drawing.PointF
리턴 void

CreationMouseUpHandler() 공개 메소드

public CreationMouseUpHandler ( PointF point ) : void
point System.Drawing.PointF
리턴 void

Draw() 공개 메소드

public Draw ( Graphics g, float zoom, PointF offset, PointF zoomPosition ) : void
g System.Drawing.Graphics
zoom float
offset System.Drawing.PointF
zoomPosition System.Drawing.PointF
리턴 void

EditFinishing() 공개 메소드

public EditFinishing ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

GeneratePropertyControl() 공개 메소드

public GeneratePropertyControl ( ) : PropertyControlBase
리턴 PropertyControlBase

GetCursor() 공개 메소드

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

MouseDoubleClickHandler() 공개 메소드

public MouseDoubleClickHandler ( PointF point ) : void
point System.Drawing.PointF
리턴 void

MoveBy() 공개 메소드

public MoveBy ( float dx, float dy ) : void
dx float
dy float
리턴 void

OnResize() 공개 메소드

public OnResize ( bool lastMove ) : void
lastMove bool
리턴 void

SetColor() 공개 메소드

public SetColor ( Color fore, Color back ) : void
fore Color
back Color
리턴 void

ShapeToolLost() 공개 메소드

public ShapeToolLost ( ) : void
리턴 void

SpecialPoints() 공개 메소드

public SpecialPoints ( ) : List
리턴 List

UpdatePropertyFromStaticData() 공개 메소드

public UpdatePropertyFromStaticData ( ) : void
리턴 void

UpdateSpecialPoint() 공개 메소드

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

isPointIn() 공개 메소드

public isPointIn ( PointF point ) : bool
point System.Drawing.PointF
리턴 bool

isResizeble() 공개 메소드

public isResizeble ( ) : bool
리턴 bool

isValid() 공개 메소드

public isValid ( ) : bool
리턴 bool

프로퍼티 상세

borderColor 공개적으로 프로퍼티

public Color borderColor
리턴 Color

borderColorGlobal 공개적으로 정적으로 프로퍼티

public static Color borderColorGlobal
리턴 Color

borderSize 공개적으로 프로퍼티

public int borderSize
리턴 int

borderSizeGlobal 공개적으로 정적으로 프로퍼티

public static int borderSizeGlobal
리턴 int