C# 클래스 PurplePen.AddTextMode

상속: BaseMode
파일 보기 프로젝트 열기: petergolde/PurplePen

공개 메소드들

메소드 설명
AddTextMode ( Controller controller, UndoMgr undoMgr, SelectionMgr selectionMgr, EventDB eventDB, string text, string fontName, bool fontBold, bool fontItalic, SpecialColor fontColor ) : System
GetHighlights ( Pane pane ) : IMapViewerHighlight[]
GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
LeftButtonClick ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void
LeftButtonDown ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : MapViewer.DragAction
LeftButtonDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
LeftButtonEndDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void

비공개 메소드들

메소드 설명
CreateTextSpecial ( RectangleF boundingRect ) : void
DragTo ( PointF location ) : void

메소드 상세

AddTextMode() 공개 메소드

public AddTextMode ( Controller controller, UndoMgr undoMgr, SelectionMgr selectionMgr, EventDB eventDB, string text, string fontName, bool fontBold, bool fontItalic, SpecialColor fontColor ) : System
controller Controller
undoMgr UndoMgr
selectionMgr SelectionMgr
eventDB EventDB
text string
fontName string
fontBold bool
fontItalic bool
fontColor SpecialColor
리턴 System

GetHighlights() 공개 메소드

public GetHighlights ( Pane pane ) : IMapViewerHighlight[]
pane Pane
리턴 IMapViewerHighlight[]

GetMouseCursor() 공개 메소드

public GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
pane Pane
location System.Drawing.PointF
pixelSize float
리턴 System.Windows.Forms.Cursor

LeftButtonClick() 공개 메소드

public LeftButtonClick ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void
pane Pane
location System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
리턴 void

LeftButtonDown() 공개 메소드

public LeftButtonDown ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : MapViewer.DragAction
pane Pane
location System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
리턴 MapViewer.DragAction

LeftButtonDrag() 공개 메소드

public LeftButtonDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
pane Pane
location System.Drawing.PointF
locationStart System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
리턴 void

LeftButtonEndDrag() 공개 메소드

public LeftButtonEndDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
pane Pane
location System.Drawing.PointF
locationStart System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
리턴 void