C# Class NClass.DiagramEditor.ClassDiagram.Shapes.CommentShape

Inheritance: NClass.DiagramEditor.Diagrams.Shapes.Shape
Mostra file Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
Draw ( IGraphics g, bool onScreen, Style style ) : void
GetOutline ( Style style ) : Rectangle
ToString ( ) : string

Protected Methods

Method Description
CloneEntity ( IDiagram diagram ) : bool
GetBorderWidth ( Style style ) : int
GetContextMenuItems ( IDiagram diagram ) : IEnumerable
GetRequiredHeight ( ) : int
GetRequiredWidth ( Graphics g, Style style ) : float
HideEditor ( ) : void
MoveWindow ( ) : void
OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
OnMouseDown ( AbsoluteMouseEventArgs e ) : void
OnMove ( MoveEventArgs e ) : void
OnResize ( ResizeEventArgs e ) : void
ShowEditor ( ) : void

Private Methods

Method Description
CommentShape ( ) : System
CommentShape ( Comment comment ) : System
DrawSurface ( IGraphics g, bool onScreen, Style style ) : void
DrawText ( IGraphics g, bool onScreen, Style style ) : void
EditText ( ) : void
GetTextRectangle ( ) : Rectangle

Method Details

CloneEntity() protected method

protected CloneEntity ( IDiagram diagram ) : bool
diagram IDiagram
return bool

Draw() public method

public Draw ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
return void

GetBorderWidth() protected method

protected GetBorderWidth ( Style style ) : int
style Style
return int

GetContextMenuItems() protected method

protected GetContextMenuItems ( IDiagram diagram ) : IEnumerable
diagram IDiagram
return IEnumerable

GetOutline() public static method

public static GetOutline ( Style style ) : Rectangle
style Style
return System.Drawing.Rectangle

GetRequiredHeight() protected method

protected GetRequiredHeight ( ) : int
return int

GetRequiredWidth() protected method

protected GetRequiredWidth ( Graphics g, Style style ) : float
g System.Drawing.Graphics
style Style
return float

HideEditor() protected method

protected HideEditor ( ) : void
return void

MoveWindow() protected method

protected MoveWindow ( ) : void
return void

OnDoubleClick() protected method

protected OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
return void

OnMove() protected method

protected OnMove ( MoveEventArgs e ) : void
e NClass.DiagramEditor.Diagrams.MoveEventArgs
return void

OnResize() protected method

protected OnResize ( ResizeEventArgs e ) : void
e NClass.DiagramEditor.Diagrams.Shapes.ResizeEventArgs
return void

ShowEditor() protected method

protected ShowEditor ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string