C# 클래스 NClass.DiagramEditor.Diagrams.Shapes.Shape

상속: DiagramElement
파일 보기 프로젝트 열기: gbaychev/NClass 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
borderDashPattern float[]
defaultMinSize System.Drawing.Size
shadowBrush System.Drawing.SolidBrush

Private Properties

프로퍼티 타입 설명
AutoHeight void
AutoWidth void
Deserialize void
DoubleClicked void
DrawResizingSquares void
MouseMoved void
MousePressed void
MouseUpped void
PerformResize void
Serialize void

공개 메소드들

메소드 설명
Collapse ( ) : void
Expand ( ) : void
GetCursor ( AbsoluteMouseEventArgs e ) : Cursor
ToString ( ) : string

보호된 메소드들

메소드 설명
CalculateDrawingArea ( Style style, bool printing, float zoom ) : RectangleF
CloneEntity ( IDiagram diagram ) : bool
Contains ( PointF point ) : bool
CopyFrom ( Shape shape ) : void
DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
GetBorderWidth ( Style style ) : int
GetContextMenuItems ( IDiagram diagram ) : IEnumerable
GetLogicalArea ( ) : Rectangle
GetMaximalOffset ( Size offset, int padding ) : Size
GetRequiredHeight ( ) : int
GetRequiredWidth ( Graphics g, Style style ) : float
GetResizeMode ( AbsoluteMouseEventArgs e ) : ResizeMode
Offset ( Size offset ) : void
OnDeactivating ( EventArgs e ) : void
OnDeserializing ( SerializeEventArgs e ) : void
OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
OnDragging ( MoveEventArgs e ) : void
OnMouseDown ( AbsoluteMouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( AbsoluteMouseEventArgs e ) : void
OnMouseUp ( AbsoluteMouseEventArgs e ) : void
OnMove ( MoveEventArgs e ) : void
OnResize ( ResizeEventArgs e ) : void
OnResizing ( ResizeEventArgs e ) : void
OnSerializing ( SerializeEventArgs e ) : void
Paste ( IDiagram diagram, Size offset ) : Shape
Shape ( IEntity entity ) : System
TransformRelativeToAbsolute ( Rectangle rectangle, float zoom, Point offset ) : Rectangle
TrySelect ( RectangleF frame ) : bool

비공개 메소드들

메소드 설명
AutoHeight ( ) : void
AutoWidth ( ) : void
Deserialize ( XmlElement node ) : void
DoubleClicked ( AbsoluteMouseEventArgs e ) : void
DrawResizingSquares ( Graphics g, Rectangle frame ) : void
MouseMoved ( AbsoluteMouseEventArgs e ) : void
MousePressed ( AbsoluteMouseEventArgs e ) : void
MouseUpped ( AbsoluteMouseEventArgs e ) : void
PerformResize ( PointF mouseLocation ) : void
Serialize ( XmlElement node ) : void

메소드 상세

CalculateDrawingArea() 보호된 메소드

protected CalculateDrawingArea ( Style style, bool printing, float zoom ) : RectangleF
style Style
printing bool
zoom float
리턴 System.Drawing.RectangleF

CloneEntity() 보호된 추상적인 메소드

protected abstract CloneEntity ( IDiagram diagram ) : bool
diagram IDiagram
리턴 bool

Collapse() 공개 메소드

public Collapse ( ) : void
리턴 void

Contains() 보호된 메소드

protected Contains ( PointF point ) : bool
point System.Drawing.PointF
리턴 bool

CopyFrom() 보호된 메소드

protected CopyFrom ( Shape shape ) : void
shape Shape
리턴 void

DrawSelectionLines() 보호된 메소드

protected DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
g System.Drawing.Graphics
zoom float
offset Point
리턴 void

Expand() 공개 메소드

public Expand ( ) : void
리턴 void

GetBorderWidth() 보호된 추상적인 메소드

protected abstract GetBorderWidth ( Style style ) : int
style Style
리턴 int

GetContextMenuItems() 보호된 메소드

protected GetContextMenuItems ( IDiagram diagram ) : IEnumerable
diagram IDiagram
리턴 IEnumerable

GetCursor() 공개 메소드

public GetCursor ( AbsoluteMouseEventArgs e ) : Cursor
e AbsoluteMouseEventArgs
리턴 System.Windows.Forms.Cursor

GetLogicalArea() 보호된 최종 메소드

protected final GetLogicalArea ( ) : Rectangle
리턴 System.Drawing.Rectangle

GetMaximalOffset() 보호된 메소드

protected GetMaximalOffset ( Size offset, int padding ) : Size
offset System.Drawing.Size
padding int
리턴 System.Drawing.Size

GetRequiredHeight() 보호된 메소드

protected GetRequiredHeight ( ) : int
리턴 int

GetRequiredWidth() 보호된 메소드

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

GetResizeMode() 보호된 메소드

protected GetResizeMode ( AbsoluteMouseEventArgs e ) : ResizeMode
e AbsoluteMouseEventArgs
리턴 ResizeMode

Offset() 보호된 최종 메소드

protected final Offset ( Size offset ) : void
offset System.Drawing.Size
리턴 void

OnDeactivating() 보호된 메소드

protected OnDeactivating ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDeserializing() 보호된 메소드

protected OnDeserializing ( SerializeEventArgs e ) : void
e NClass.Core.SerializeEventArgs
리턴 void

OnDoubleClick() 보호된 메소드

protected OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnDragging() 보호된 메소드

protected OnDragging ( MoveEventArgs e ) : void
e MoveEventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnMouseEnter() 보호된 메소드

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseLeave() 보호된 메소드

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

protected OnMouseUp ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnMove() 보호된 메소드

protected OnMove ( MoveEventArgs e ) : void
e MoveEventArgs
리턴 void

OnResize() 보호된 메소드

protected OnResize ( ResizeEventArgs e ) : void
e ResizeEventArgs
리턴 void

OnResizing() 보호된 메소드

protected OnResizing ( ResizeEventArgs e ) : void
e ResizeEventArgs
리턴 void

OnSerializing() 보호된 메소드

protected OnSerializing ( SerializeEventArgs e ) : void
e NClass.Core.SerializeEventArgs
리턴 void

Paste() 보호된 메소드

protected Paste ( IDiagram diagram, Size offset ) : Shape
diagram IDiagram
offset System.Drawing.Size
리턴 Shape

Shape() 보호된 메소드

/// is null. ///
protected Shape ( IEntity entity ) : System
entity IEntity
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TransformRelativeToAbsolute() 보호된 정적인 메소드

protected static TransformRelativeToAbsolute ( Rectangle rectangle, float zoom, Point offset ) : Rectangle
rectangle System.Drawing.Rectangle
zoom float
offset Point
리턴 System.Drawing.Rectangle

TrySelect() 보호된 최종 메소드

protected final TrySelect ( RectangleF frame ) : bool
frame System.Drawing.RectangleF
리턴 bool

프로퍼티 상세

borderDashPattern 보호되어 있는 정적으로 프로퍼티

protected static float[] borderDashPattern
리턴 float[]

defaultMinSize 보호되어 있는 정적으로 프로퍼티

protected static Size,System.Drawing defaultMinSize
리턴 System.Drawing.Size

shadowBrush 보호되어 있는 정적으로 프로퍼티

protected static SolidBrush,System.Drawing shadowBrush
리턴 System.Drawing.SolidBrush