C# Class PurplePen.PointCourseObj

Inheritance: CourseObj
Mostrar archivo Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
gaps PurplePen.CircleGap[]
location System.Drawing.PointF
movableGaps PurplePen.CircleGap[]
orientation float

Public Methods

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

Protected Methods

Method Description
AddToMap ( Map map, SymDef symdef ) : void
HighlightCrossHair ( Graphics g, Matrix xformWorldToPixel, Brush brush ) : void
PointCourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance, CircleGap gaps, float orientation, float radius, PointF location ) : System

Method Details

AddToMap() protected method

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

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

HighlightCrossHair() protected method

protected HighlightCrossHair ( Graphics g, Matrix xformWorldToPixel, Brush brush ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
brush System.Drawing.Brush
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

PointCourseObj() protected method

protected PointCourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance, CircleGap gaps, float orientation, float radius, PointF location ) : System
controlId Id
courseControlId Id
specialId Id
scaleRatio float
appearance CourseAppearance
gaps CircleGap
orientation float
radius float
location System.Drawing.PointF
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

gaps public_oe property

public CircleGap[],PurplePen gaps
return PurplePen.CircleGap[]

location public_oe property

public PointF,System.Drawing location
return System.Drawing.PointF

movableGaps public_oe property

public CircleGap[],PurplePen movableGaps
return PurplePen.CircleGap[]

orientation public_oe property

public float orientation
return float