C# Class TpTrayUtility.Components.Line

Inheritance: Primitive
Exibir arquivo Open project: TargetProcess/Tp.TrayUtility

Public Properties

Property Type Description
penBeginCap LineCap
penBeginCapGlobal LineCap
penColor Color
penColorGlobal Color
penEndCap LineCap
penEndCapGlobal LineCap
penSize int
penSizeGlobal int
penStyle DashStyle
penStyleGlobal DashStyle

Protected Properties

Property Type Description
begin System.Drawing.PointF
end System.Drawing.PointF
linePen System.Drawing.Pen

Public Methods

Method Description
CanUndo ( ) : bool
CreationMouseDownHandler ( PointF point ) : void
CreationMouseMoveHandler ( PointF point ) : void
CreationMouseUpHandler ( PointF point ) : void
Draw ( Graphics g, float zoom, PointF offset, PointF zoomPosition ) : void
GeneratePropertyControl ( ) : PropertyControlBase
GetCursor ( PointF point ) : Cursor
GetLastModifiedRect ( ) : RectangleF
Line ( ) : System
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

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 offset, PointF zoomPosition ) : void
g System.Drawing.Graphics
zoom float
offset System.Drawing.PointF
zoomPosition 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 ( ) : RectangleF
return System.Drawing.RectangleF

Line() public method

public Line ( ) : System
return System

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

SetColor() public method

public SetColor ( Color fore, Color back ) : void
fore Color
back 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

Property Details

begin protected_oe property

protected PointF,System.Drawing begin
return System.Drawing.PointF

end protected_oe property

protected PointF,System.Drawing end
return System.Drawing.PointF

linePen protected_oe property

protected Pen,System.Drawing linePen
return System.Drawing.Pen

penBeginCap public_oe property

public LineCap penBeginCap
return LineCap

penBeginCapGlobal public_oe static_oe property

public static LineCap penBeginCapGlobal
return LineCap

penColor public_oe property

public Color penColor
return Color

penColorGlobal public_oe static_oe property

public static Color penColorGlobal
return Color

penEndCap public_oe property

public LineCap penEndCap
return LineCap

penEndCapGlobal public_oe static_oe property

public static LineCap penEndCapGlobal
return LineCap

penSize public_oe property

public int penSize
return int

penSizeGlobal public_oe static_oe property

public static int penSizeGlobal
return int

penStyle public_oe property

public DashStyle penStyle
return DashStyle

penStyleGlobal public_oe static_oe property

public static DashStyle penStyleGlobal
return DashStyle