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

此類提供了文本處理的基本實現,具有文本項、字體設置、對齊和旋轉的屬性。

建構子與解構子說明文件

◆ __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可選的打印平面對象。
傳回值
帶有打印平面的文本對象的字符串表示形式。

此類別(class) 文件是由下列檔案中產生: