Leaper Vision Toolkit
中文 / English 2.x
LRect类 参考
类 LRect 继承关系图:
ILRect ILDrawable ILSortable ILObject

额外继承的成员函数

- Public 成员函数 继承自 ILRect
ILRectAdjust (double dtop, double dbottom, double dleft, double dright)
 
void Draw (BOOL bFill, HDC hdc, double zoomX, double zoomY, double panX, double panY)
 
void FromRectRegion (ILRectRegion *val)
 
void FromRotRectRegion (ILRotRectRegion *val)
 
double GetArea ()
 
ILLineGetBottom ()
 
ILPointGetBottomLeft ()
 
ILPointGetBottomRight ()
 
ILRectGetBoundingRect ()
 
ILPointGetCenter ()
 
ILLineGetLeft ()
 
double GetPerimeter ()
 
ILPointsGetPoints ()
 
ILLineGetRight ()
 
ILLineGetTop ()
 
ILPointGetTopLeft ()
 
ILPointGetTopRight ()
 
LPVPointTestResult PointTest (ILPoint *point)
 
ILPolygonResample (int num)
 
ILPolygonResampleByStep (double step, double stepThreshold)
 
void Set (double x, double y, double w, double h, double a)
 
ILRectRegionToRectRegion ()
 
ILRotRectRegionToRotRectRegion ()
 
ILRectTransform (ILTransform *tf)
 
ILRectTranslate (double offsetX, double offsetY)
 
- Public 成员函数 继承自 ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 
- Public 成员函数 继承自 ILDrawable
void SetBrushColor (COLORREF brushColor)
 
void SetFont (LString fontFamily, int fontHeight, COLORREF fontColor, BOOL bold, BOOL italic, BOOL underline, BOOL strikeOut)
 
void SetFontColor (COLORREF fontColor)
 
void SetFontFamily (LString fontFamily)
 
void SetFontHeight (int fontHeight)
 
void SetPen (LPVPenStyle penStyle, int penWidth, COLORREF penColor)
 
void SetPenColor (COLORREF penColor)
 
void SetPenStyle (LPVPenStyle penStyle)
 
void SetPenWidth (int penWidth)
 
- Public 成员函数 继承自 ILSortable
double GetPosX (LPVPositionMode posMode)
 
double GetPosY (LPVPositionMode posMode)
 
double GetScore ()
 
- 属性 继承自 ILRect
double Angle [get, set]
 该矩形的旋转角度,若设置旋转角度,则该矩形为旋转矩形
 
double Height [get, set]
 该矩形的高度
 
double Width [get, set]
 该矩形的宽度
 
double X [get, set]
 该矩形中心点的 x 坐标
 
double Y [get, set]
 该矩形中心点的 y 坐标
 
- 属性 继承自 ILSortable
int Index [get, set]
 

详细描述

该类实现了 ILRect 接口,用于创建可旋转矩形的实例。