C# Class PurplePen.RectSpecialCourseObj

Inheritance: RectCourseObj
Show file Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
color SpecialColor
cornerRadius float
dashSize float
gapSize float
lineKind LineKind
lineWidth float

Private Properties

Property Type Description
CreateSymPath SymPath

Public Methods

Method Description
DistanceFromPoint ( PointF pt ) : double
Equals ( object obj ) : bool
GetHashCode ( ) : int
Highlight ( Graphics g, Matrix xformWorldToPixel, Brush brush, bool erasing ) : void
RectSpecialCourseObj ( Id specialId, CourseAppearance appearance, SpecialColor color, LineKind lineKind, float lineWidth, float cornerRadius, float gapSize, float dashSize, RectangleF rect ) : System
ToString ( ) : string

Protected Methods

Method Description
AddToMap ( Map map, SymDef symdef ) : void
CreateSymDef ( Map map, SymColor symColor ) : SymDef
SymDefKey ( ) : object

Private Methods

Method Description
CreateSymPath ( ) : SymPath

Method Details

AddToMap() protected method

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

CreateSymDef() protected method

protected CreateSymDef ( Map map, SymColor symColor ) : SymDef
map Map
symColor SymColor
return SymDef

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

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

RectSpecialCourseObj() public method

public RectSpecialCourseObj ( Id specialId, CourseAppearance appearance, SpecialColor color, LineKind lineKind, float lineWidth, float cornerRadius, float gapSize, float dashSize, RectangleF rect ) : System
specialId Id
appearance CourseAppearance
color SpecialColor
lineKind LineKind
lineWidth float
cornerRadius float
gapSize float
dashSize float
rect System.Drawing.RectangleF
return System

SymDefKey() protected method

protected SymDefKey ( ) : object
return object

ToString() public method

public ToString ( ) : string
return string

Property Details

color public property

public SpecialColor,PurplePen color
return SpecialColor

cornerRadius public property

public float cornerRadius
return float

dashSize public property

public float dashSize
return float

gapSize public property

public float gapSize
return float

lineKind public property

public LineKind lineKind
return LineKind

lineWidth public property

public float lineWidth
return float