ATextItem的基类。 更多...
Public 成员函数 | |
| __init__ (self, IPoint start, str data) | |
| 初始化具有起始点和数据的文本项。 | |
| IFontSize | font_size (self) |
| 获取文本项的字体大小。 | |
| font_size (self, IFontSize font_size) | |
| 设置文本项的字体大小。 | |
Public 属性 | |
| start | |
| data | |
Protected 属性 | |
| _font_size | |
额外继承的成员函数 | |
静态 Public 属性 继承自 LabelMaker.Interfaces.IText.ITextItem | |
| IPoint | start |
| str | data |
ATextItem的基类。
此类提供了文本项的基本实现,具有位置和数据的属性。
| LabelMaker.Interfaces.IText.ATextItem.__init__ | ( | self, | |
| IPoint | start, | ||
| str | data ) |
| IFontSize LabelMaker.Interfaces.IText.ATextItem.font_size | ( | self | ) |
| LabelMaker.Interfaces.IText.ATextItem.font_size | ( | self, | |
| IFontSize | font_size ) |
|
protected |
| LabelMaker.Interfaces.IText.ATextItem.data |
| LabelMaker.Interfaces.IText.ATextItem.start |