额外继承的成员函数 | |
Public 成员函数 继承自 ILText | |
| void | Draw (HDC hdc, double zoomX, double zoomY, double panX, double panY) |
Public 成员函数 继承自 ILDrawable | |
| void | SetBrushColor (COLORREF brushColor) |
| void | SetDrawName (BOOL val) |
| void | SetDrawPoint (int size, LPVPointShape shape) |
| 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) |
属性 继承自 ILText | |
| LPVAlignment | Alignment [get, set] |
| 文本绘制时的对齐方式 | |
| int | PosX [get, set] |
| 文本位置的 x 坐标 | |
| int | PosY [get, set] |
| 文本位置的 y 坐标 | |
| BSTR | Text [get, set] |
| 文本字符串 | |
该类实现了 ILText 接口,用于创建可绘制文本对象的实例。
注:该类在 Linux / MacOS 平台暂不可用。