C# Class PurplePen.AddRectangleMode

Inheritance: BaseMode
Afficher le fichier Open project: petergolde/PurplePen

Méthodes publiques

Méthode Description
AddRectangleMode ( Controller controller, UndoMgr undoMgr, SelectionMgr selectionMgr, EventDB eventDB, float aspectRatio, CourseObj>.Func createCourseObj, Func createSpecial ) : 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

Private Methods

Méthode Description
CreateImageSpecial ( RectangleF boundingRect ) : void
DragTo ( PointF location ) : void

Method Details

AddRectangleMode() public méthode

public AddRectangleMode ( Controller controller, UndoMgr undoMgr, SelectionMgr selectionMgr, EventDB eventDB, float aspectRatio, CourseObj>.Func createCourseObj, Func createSpecial ) : System
controller Controller
undoMgr UndoMgr
selectionMgr SelectionMgr
eventDB EventDB
aspectRatio float
createCourseObj CourseObj>.Func
createSpecial Func
Résultat System

GetHighlights() public méthode

public GetHighlights ( Pane pane ) : IMapViewerHighlight[]
pane Pane
Résultat IMapViewerHighlight[]

GetMouseCursor() public méthode

public GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
pane Pane
location System.Drawing.PointF
pixelSize float
Résultat System.Windows.Forms.Cursor

LeftButtonClick() public méthode

public LeftButtonClick ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void
pane Pane
location System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
Résultat void

LeftButtonDown() public méthode

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

LeftButtonDrag() public méthode

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
Résultat void

LeftButtonEndDrag() public méthode

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
Résultat void