C# Класс PurplePen.RectCourseObj

Наследование: CourseObj
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
rect System.Drawing.RectangleF

Открытые методы

Метод Описание
DistanceFromPoint ( PointF pt ) : double
Equals ( object obj ) : bool
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
RectCourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance, RectangleF rect ) : System
RectangleUpdating ( RectangleF &newRect, bool dragAll, bool dragLeft, bool dragTop, bool dragRight, bool dragBottom ) : void
ToString ( ) : string

Защищенные методы

Метод Описание
AddToMap ( Map map, SymDef symdef ) : void
CreateSymDef ( Map map, SymColor symColor ) : SymDef
DrawBorderedRectangle ( Graphics g, Matrix xformWorldToPixel, RectangleF rectToDraw, Brush brush, bool erasing ) : void

Описание методов

AddToMap() защищенный Метод

protected AddToMap ( Map map, SymDef symdef ) : void
map Map
symdef SymDef
Результат void

CreateSymDef() защищенный Метод

protected CreateSymDef ( Map map, SymColor symColor ) : SymDef
map Map
symColor SymColor
Результат SymDef

DistanceFromPoint() публичный Метод

public DistanceFromPoint ( PointF pt ) : double
pt System.Drawing.PointF
Результат double

DrawBorderedRectangle() защищенный статический Метод

protected static DrawBorderedRectangle ( Graphics g, Matrix xformWorldToPixel, RectangleF rectToDraw, Brush brush, bool erasing ) : void
g System.Drawing.Graphics
xformWorldToPixel Matrix
rectToDraw System.Drawing.RectangleF
brush System.Drawing.Brush
erasing bool
Результат void

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

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 GetHighlightBounds ( ) : RectangleF
Результат System.Drawing.RectangleF

Highlight() публичный Метод

public 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 Offset ( float dx, float dy ) : void
dx float
dy float
Результат void

RectCourseObj() публичный Метод

public RectCourseObj ( Id controlId, Id courseControlId, Id specialId, float scaleRatio, CourseAppearance appearance, RectangleF rect ) : System
controlId Id
courseControlId Id
specialId Id
scaleRatio float
appearance CourseAppearance
rect System.Drawing.RectangleF
Результат System

RectangleUpdating() публичный Метод

public RectangleUpdating ( RectangleF &newRect, bool dragAll, bool dragLeft, bool dragTop, bool dragRight, bool dragBottom ) : void
newRect System.Drawing.RectangleF
dragAll bool
dragLeft bool
dragTop bool
dragRight bool
dragBottom bool
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

rect публичное свойство

public RectangleF,System.Drawing rect
Результат System.Drawing.RectangleF