C# Class PurplePen.AreaCourseObj

Inheritance: CourseObj
Show file Open project: petergolde/PurplePen

Public Methods

Method Description
DistanceFromPoint ( PointF pt ) : double
Equals ( object obj ) : bool
GetHandles ( ) : System.Drawing.PointF[]
GetHashCode ( ) : int
GetHighlightBounds ( ) : RectangleF
Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
MoveHandle ( PointF oldHandle, PointF newHandle ) : void
Offset ( float dx, float dy ) : void
ToString ( ) : string

Protected Methods

Method Description
AddToMap ( Map map, SymDef symdef ) : void
AreaCourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance, PointF pts ) : System

Method Details

AddToMap() protected method

protected AddToMap ( Map map, SymDef symdef ) : void
map Map
symdef SymDef
return void

AreaCourseObj() protected method

protected AreaCourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance, PointF pts ) : System
controlId Id
courseControlId Id
specialId Id
scaleRatio float
appearance CourseAppearance
pts System.Drawing.PointF
return System

DistanceFromPoint() public method

public DistanceFromPoint ( PointF pt ) : double
pt System.Drawing.PointF
return double

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHandles() public method

public GetHandles ( ) : System.Drawing.PointF[]
return System.Drawing.PointF[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetHighlightBounds() public method

public GetHighlightBounds ( ) : RectangleF
return System.Drawing.RectangleF

Highlight() public method

public Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
brush System.Drawing.Brush
erasing bool
return void

MoveHandle() public method

public MoveHandle ( PointF oldHandle, PointF newHandle ) : void
oldHandle System.Drawing.PointF
newHandle System.Drawing.PointF
return void

Offset() public method

public Offset ( float dx, float dy ) : void
dx float
dy float
return void

ToString() public method

public ToString ( ) : string
return string