额外继承的成员函数 | |
Public 成员函数 继承自 ILBlob | |
| void | AttachImage (ILImage *image) |
| int | CountContour () |
| int | CountHole () |
| void | Draw (HDC hdc, LPVBlobDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
| ILBlob * | Expand (int delta) |
| void | ExpandTo (int delta) |
| void | FromRegion (ILRegion *region, ILImage *image) |
| double | GetAngle (BOOL alwaysUp) |
| ILPoint * | GetCenter () |
| ILPolygon * | GetContour (int index) |
| double | GetContrast (LPVAggregation aggType, double percentage) |
| ILPolygon * | GetConvexHull () |
| double | GetFeature (LPVBlobFeatures feature) |
| ILPolygon * | GetHole (int index) |
| double | GetLuminance (LPVAggregation aggType, double percentage) |
| ILRect * | GetRect () |
| ILRect * | GetRotRect () |
| ILBlob * | Intersect (ILBlob *other) |
| void | IntersectTo (ILBlob *other) |
| ILBlob * | Shrink (int delta) |
| void | ShrinkTo (int delta) |
| ILBlob * | Subtract (ILBlob *other) |
| void | SubtractTo (ILBlob *other) |
| ILMaskRegion * | ToRegion () |
| ILBlob * | Union (ILBlob *other) |
| void | UnionTo (ILBlob *other) |
| ILBlob * | XOR (ILBlob *other) |
| void | XORTo (ILBlob *other) |
Public 成员函数 继承自 ILObject | |
| ILObject * | Copy () |
| LPVErrorCode | Load (LString filename) |
| void | Reset () |
| LPVErrorCode | Save (LString filename) |
| BOOL | Valid () |
Public 成员函数 继承自 ILDrawable | |
| void | SetBrushColor (COLORREF color) |
| void | SetDrawName (BOOL val) |
| void | SetDrawPoint (int size, LPVPointShape shape) |
| void | SetFont (LString family, int fontSize, COLORREF color, BOOL bold, BOOL italic, BOOL underline, BOOL strikeOut) |
| void | SetFontColor (COLORREF color) |
| void | SetFontFamily (LString family) |
| void | SetFontHeight (int fontSize) |
| void | SetPen (LPVPenStyle style, int penSize, COLORREF color) |
| void | SetPenColor (COLORREF color) |
| void | SetPenStyle (LPVPenStyle style) |
| void | SetPenWidth (int penSize) |
Public 成员函数 继承自 ILSortable | |
| double | GetPosX (LPVPositionMode posMode) |
| double | GetPosY (LPVPositionMode posMode) |
| double | GetScore () |
属性 继承自 ILObject | |
| LString | Name [get, set] |
| 对象的名称,默认为空。 大多数情况下,LPV 算法类并不使用这个名称。 若 ILDrawable::SetDrawName() 启用,该名称将被绘制在对象的附近 更多... | |
属性 继承自 ILDrawable | |
| COLORREF | BrushColor [get, set] |
| 用于填充的笔刷颜色。 更多... | |
| BOOL | DrawName [get, set] |
| 是否在画布上绘制该对象的名称。 更多... | |
| BOOL | FontBold [get, set] |
| 文本是否加粗。 更多... | |
| COLORREF | FontColor [get, set] |
| 文本绘制颜色。 更多... | |
| LString | FontFamily [get, set] |
| 绘制文本时使用的字体家族名称,比如 "Arial"、"Tahoma"、"Sans-Serif" 等。 更多... | |
| int | FontHeight [get, set] |
| 字符或字符单元的高度,以逻辑单位计。 更多... | |
| BOOL | FontItalic [get, set] |
| 文本是否使用斜体。 更多... | |
| BOOL | FontStrikeOut [get, set] |
| 文本是否带删除线。 更多... | |
| BOOL | FontUnderline [get, set] |
| 文本是否带下划线。 更多... | |
| COLORREF | PenColor [get, set] |
| 描边笔颜色。 更多... | |
| LPVPenStyle | PenStyle [get, set] |
| 描边笔风格。 更多... | |
| int | PenWidth [get, set] |
| 描边笔宽度,有效范围为 1..31。 更多... | |
| LPVPointShape | PointShape [get, set] |
| 绘制点的形状,默认为十字。设置为 -1 表示使用全局配置。 更多... | |
| int | PointSize [get, set] |
| 绘制点的尺寸,默认为 5 个像素。设置为 -1 表示使用全局配置。 更多... | |
| BOOL | RandomBrushColor [get, set] |
| 笔刷是否处于随机色模式,详情参见 RandomPenColor。 更多... | |
| BOOL | RandomFontColor [get, set] |
| 字体是否处于随机色模式,详情参见 RandomPenColor。 更多... | |
| BOOL | RandomPenColor [get, set] |
| 描边笔是否处于随机色模式。设为 VARIANT_TRUE 后,后续 SetPen / SetPenColor 调用会重新随机生成颜色。 老路径(向 SetPen / SetPenColor 传入 LPVColorRandom)会隐式置位该开关,保持兼容。 更多... | |
属性 继承自 ILSortable | |
| int | Index [get, set] |
| 索引 | |
该类实现了 ILBlob 接口,用于创建斑点的实例。