C# Class PurplePen.AddLineAreaSpecialMode

Inheritance: BaseMode
ファイルを表示 Open project: petergolde/PurplePen

Public Methods

Method Description
AddLineAreaSpecialMode ( Controller controller, SelectionMgr selectionMgr, UndoMgr undoMgr, EventDB eventDB, Func createObject, bool isArea ) : 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

Method Description
AddFixedPoint ( PointF newPoint ) : void
AddUnfixedPoint ( PointF newPoint ) : void
CreateObject ( ) : bool

Method Details

AddLineAreaSpecialMode() public method

public AddLineAreaSpecialMode ( Controller controller, SelectionMgr selectionMgr, UndoMgr undoMgr, EventDB eventDB, Func createObject, bool isArea ) : System
controller Controller
selectionMgr SelectionMgr
undoMgr UndoMgr
eventDB EventDB
createObject Func
isArea bool
return System

GetHighlights() public method

public GetHighlights ( Pane pane ) : IMapViewerHighlight[]
pane Pane
return IMapViewerHighlight[]

GetMouseCursor() public method

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

LeftButtonClick() public method

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

LeftButtonDown() public method

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

LeftButtonDrag() public method

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
return void

LeftButtonEndDrag() public method

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
return void