UniPRT SDK v1.0.0.0
 
载入中...
搜索中...
未找到
LabelMaker.Interfaces.IText.AText类 参考

AText的基类。 更多...

类 LabelMaker.Interfaces.IText.AText 继承关系图:
LabelMaker.Interfaces.IText.IText LabelMaker.Interfaces.IText.ITextSettings LabelMaker.Interfaces.IFont.IFont LabelMaker.Interfaces.IFont.IFontStyle LabelMaker.Interfaces.IFont.IFontSizeUnits LabelMaker.Interfaces.ISettings.IRotation LabelMaker.PGL.Text.Text LabelMaker.TSPL.Text.Text

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的基类。

此类提供了文本处理的基本实现,具有文本项、字体设置、对齐和旋转的属性。

构造及析构函数说明

◆ __init__()

LabelMaker.Interfaces.IText.AText.__init__ ( self,
Optional[ITextItem] text_item = None )

初始化带有可选文本项的文本对象。

参数
text_item可选的初始文本项,添加到文本对象中。

LabelMaker.PGL.Text.Text , 以及 LabelMaker.TSPL.Text.Text 重载.

成员函数说明

◆ __str__()

str LabelMaker.Interfaces.IText.AText.__str__ ( self)

返回文本对象的字符串表示形式。

重载 LabelMaker.Interfaces.IText.IText .

LabelMaker.PGL.Text.Text , 以及 LabelMaker.TSPL.Text.Text 重载.

◆ to_string_with_print_plane()

str LabelMaker.Interfaces.IText.AText.to_string_with_print_plane ( self,
Optional[object] print_plane )

将文本对象转换为带有可选打印平面的字符串。

参数
print_plane可选的打印平面对象。
返回
带有打印平面的文本对象的字符串表示形式。

该类的文档由以下文件生成: