C# 클래스 PurplePen.CourseObj

상속: IMapViewerHighlight, ICloneable
파일 보기 프로젝트 열기: petergolde/PurplePen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
appearance CourseAppearance
controlId Id
courseControlId Id
layer CourseLayer
scaleRatio float
specialId Id

공개 메소드들

메소드 설명
AddToMap ( Map map, SymColor symColor, SymDef>.Dictionary dict ) : void
Clone ( ) : object
DistanceFromPoint ( PointF pt ) : double
DrawHighlight ( Graphics g, Matrix xformWorldToPixel ) : void
Equals ( object obj ) : bool
EraseHighlight ( Graphics g, Matrix xformWorldToPixel, Brush eraseBrush ) : void
GetHandleCursor ( PointF handlePoint ) : Cursor
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

보호된 메소드들

메소드 설명
AddToMap ( Map map, SymDef symdef ) : void
CourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance ) : System
CreateSymDef ( Map map, SymColor symColor ) : SymDef
OffsetCoords ( PointF coords, float dx, float dy ) : System.Drawing.PointF[]
RotateCoords ( PointF coords, float angle ) : System.Drawing.PointF[]
ScaleCoords ( PointF coords ) : System.Drawing.PointF[]
SymDefKey ( ) : object
TransformDistance ( float distance, Matrix xform ) : float

비공개 메소드들

메소드 설명
DrawHandle ( PointF handleLocation, Graphics g, Matrix xformWorldToPixel ) : void
EraseHandle ( PointF handleLocation, Graphics g, Matrix xformWorldToPixel, Brush eraseBrush ) : void

메소드 상세

AddToMap() 공개 메소드

public AddToMap ( Map map, SymColor symColor, SymDef>.Dictionary dict ) : void
map Map
symColor SymColor
dict SymDef>.Dictionary
리턴 void

AddToMap() 보호된 추상적인 메소드

protected abstract AddToMap ( Map map, SymDef symdef ) : void
map Map
symdef SymDef
리턴 void

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

CourseObj() 보호된 메소드

protected CourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance ) : System
controlId Id
courseControlId Id
specialId Id
scaleRatio float
appearance CourseAppearance
리턴 System

CreateSymDef() 보호된 추상적인 메소드

protected abstract CreateSymDef ( Map map, SymColor symColor ) : SymDef
map Map
symColor SymColor
리턴 SymDef

DistanceFromPoint() 공개 추상적인 메소드

public abstract DistanceFromPoint ( PointF pt ) : double
pt System.Drawing.PointF
리턴 double

DrawHighlight() 공개 메소드

public DrawHighlight ( Graphics g, Matrix xformWorldToPixel ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
리턴 void

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

EraseHighlight() 공개 메소드

public EraseHighlight ( Graphics g, Matrix xformWorldToPixel, Brush eraseBrush ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
eraseBrush System.Drawing.Brush
리턴 void

GetHandleCursor() 공개 메소드

public GetHandleCursor ( PointF handlePoint ) : Cursor
handlePoint System.Drawing.PointF
리턴 System.Windows.Forms.Cursor

GetHandles() 공개 메소드

public GetHandles ( ) : System.Drawing.PointF[]
리턴 System.Drawing.PointF[]

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetHighlightBounds() 공개 추상적인 메소드

public abstract GetHighlightBounds ( ) : RectangleF
리턴 System.Drawing.RectangleF

Highlight() 공개 추상적인 메소드

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

MoveHandle() 공개 메소드

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

Offset() 공개 추상적인 메소드

public abstract Offset ( float dx, float dy ) : void
dx float
dy float
리턴 void

OffsetCoords() 보호된 메소드

protected OffsetCoords ( PointF coords, float dx, float dy ) : System.Drawing.PointF[]
coords System.Drawing.PointF
dx float
dy float
리턴 System.Drawing.PointF[]

RotateCoords() 보호된 메소드

protected RotateCoords ( PointF coords, float angle ) : System.Drawing.PointF[]
coords System.Drawing.PointF
angle float
리턴 System.Drawing.PointF[]

ScaleCoords() 보호된 메소드

protected ScaleCoords ( PointF coords ) : System.Drawing.PointF[]
coords System.Drawing.PointF
리턴 System.Drawing.PointF[]

SymDefKey() 보호된 메소드

protected SymDefKey ( ) : object
리턴 object

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TransformDistance() 보호된 메소드

protected TransformDistance ( float distance, Matrix xform ) : float
distance float
xform Matrix
리턴 float

프로퍼티 상세

appearance 공개적으로 프로퍼티

public CourseAppearance,PurplePen appearance
리턴 CourseAppearance

controlId 공개적으로 프로퍼티

public Id controlId
리턴 Id

courseControlId 공개적으로 프로퍼티

public Id courseControlId
리턴 Id

layer 공개적으로 프로퍼티

public CourseLayer layer
리턴 CourseLayer

scaleRatio 공개적으로 프로퍼티

public float scaleRatio
리턴 float

specialId 공개적으로 프로퍼티

public Id specialId
리턴 Id