C# Class LongoMatch.Drawing.CanvasObjects.PositionObject

Inheritance: CanvasObject, ICanvasSelectableObject
显示文件 Open project: LongoMatch/longomatch Class Usage Examples

Private Properties

Property Type Description
GetArea LongoMatch.Core.Common.Area

Public Methods

Method Description
Draw ( IDrawingToolkit tk, Area area ) : void
GetSelection ( Point point, double precision, bool inMotion = false ) : Selection
Move ( Selection sel, Point p, Point start ) : void
PositionObject ( IList points, int width, int height ) : System

Private Methods

Method Description
GetArea ( double relSize ) : Area

Method Details

Draw() public method

public Draw ( IDrawingToolkit tk, Area area ) : void
tk IDrawingToolkit
area LongoMatch.Core.Common.Area
return void

GetSelection() public method

public GetSelection ( Point point, double precision, bool inMotion = false ) : Selection
point Point
precision double
inMotion bool
return LongoMatch.Core.Store.Drawables.Selection

Move() public method

public Move ( Selection sel, Point p, Point start ) : void
sel LongoMatch.Core.Store.Drawables.Selection
p Point
start Point
return void

PositionObject() public method

public PositionObject ( IList points, int width, int height ) : System
points IList
width int
height int
return System