AText的基類。 更多...
公開方法(Public Methods) | |
| __init__ (self, Optional[ITextItem] text_item=None) | |
| 初始化帶有可選文本項的文本對象。 | |
| str | __str__ (self) |
| 返回文本對象的字符串表示形式。 | |
| str | to_string_with_print_plane (self, Optional[object] print_plane) |
| 將文本對象轉換為帶有可選打印平面的字符串。 | |
額外的繼承成員 | |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IText.IText | |
| List | text [ITextItem] |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IText.ITextSettings | |
| IRuler | ruler |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IFont.IFont | |
| str | font_name |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IFont.IFontStyle | |
| FontStyleEnum | font_style |
靜態公開屬性 繼承自 LabelMaker.Interfaces.IFont.IFontSizeUnits | |
| FontSizeUnitsEnum | font_size_units |
靜態公開屬性 繼承自 LabelMaker.Interfaces.ISettings.IRotation | |
| RotateEnum | rotation |
AText的基類。
此類提供了文本處理的基本實現,具有文本項、字體設置、對齊和旋轉的屬性。
| LabelMaker.Interfaces.IText.AText.__init__ | ( | self, | |
| Optional[ITextItem] | text_item = None ) |
初始化帶有可選文本項的文本對象。
| text_item | 可選的初始文本項,添加到文本對象中。 |
| str LabelMaker.Interfaces.IText.AText.__str__ | ( | self | ) |
返回文本對象的字符串表示形式。
| str LabelMaker.Interfaces.IText.AText.to_string_with_print_plane | ( | self, | |
| Optional[object] | print_plane ) |
將文本對象轉換為帶有可選打印平面的字符串。
| print_plane | 可選的打印平面對象。 |