AText的基类。 更多...
Public 成员函数 | |
| __init__ (self, Optional[ITextItem] text_item=None) | |
| 初始化带有可选文本项的文本对象。 | |
| str | __str__ (self) |
| 返回文本对象的字符串表示形式。 | |
| str | to_string_with_print_plane (self, Optional[object] print_plane) |
| 将文本对象转换为带有可选打印平面的字符串。 | |
额外继承的成员函数 | |
静态 Public 属性 继承自 LabelMaker.Interfaces.IText.IText | |
| List | text [ITextItem] |
静态 Public 属性 继承自 LabelMaker.Interfaces.IText.ITextSettings | |
| IRuler | ruler |
静态 Public 属性 继承自 LabelMaker.Interfaces.IFont.IFont | |
| str | font_name |
静态 Public 属性 继承自 LabelMaker.Interfaces.IFont.IFontStyle | |
| FontStyleEnum | font_style |
静态 Public 属性 继承自 LabelMaker.Interfaces.IFont.IFontSizeUnits | |
| FontSizeUnitsEnum | font_size_units |
静态 Public 属性 继承自 LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
AText的基类。
此类提供了文本处理的基本实现,具有文本项、字体设置、对齐和旋转的属性。
| LabelMaker.Interfaces.IText.AText.__init__ | ( | self, | |
| Optional[ITextItem] | text_item = None ) |
初始化带有可选文本项的文本对象。
| text_item | 可选的初始文本项,添加到文本对象中。 |
被 LabelMaker.PGL.Text.Text , 以及 LabelMaker.TSPL.Text.Text 重载.
| str LabelMaker.Interfaces.IText.AText.__str__ | ( | self | ) |
返回文本对象的字符串表示形式。
重载 LabelMaker.Interfaces.IText.IText .
被 LabelMaker.PGL.Text.Text , 以及 LabelMaker.TSPL.Text.Text 重载.
| str LabelMaker.Interfaces.IText.AText.to_string_with_print_plane | ( | self, | |
| Optional[object] | print_plane ) |
将文本对象转换为带有可选打印平面的字符串。
| print_plane | 可选的打印平面对象。 |