UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
LabelMaker.Interfaces.IShapes.ALine 類別 參考文件

ALine的基類。 更多...

類別LabelMaker.Interfaces.IShapes.ALine的繼承圖:
LabelMaker.Interfaces.IShapes.ILine LabelMaker.PGL.Shapes.Line LabelMaker.TSPL.Shapes.Line

公開方法(Public Methods)

 __init__ (self, IPoint start, IPoint end, float line_thickness)
 初始化具有起始點、結束點和線條粗細的線。
 
str __str__ (self)
 返回線條的字符串表示形式。
 

公開屬性

 start
 
 end
 
 line_thickness
 

額外的繼承成員

- 靜態公開屬性 繼承自 LabelMaker.Interfaces.IShapes.ILine
Optional ruler [IRuler]
 
IPoint start
 
IPoint end
 
float line_thickness
 

詳細描述

ALine的基類。

此類提供了線條的基本實現,具有起始點和結束點、線條粗細和可選標尺的屬性。

建構子與解構子說明文件

◆ __init__()

LabelMaker.Interfaces.IShapes.ALine.__init__ ( self,
IPoint start,
IPoint end,
float line_thickness )

初始化具有起始點、結束點和線條粗細的線。

此構造函數設置起始點和結束點、線條粗細,並默認將標尺初始化為None。

參數
start線的起始點。
end線的結束點。
line_thickness線的粗細。

LabelMaker.TSPL.Shapes.Line, 及 LabelMaker.PGL.Shapes.Line重新實作.

函式成員說明文件

◆ __str__()

str LabelMaker.Interfaces.IShapes.ALine.__str__ ( self)

返回線條的字符串表示形式。

LabelMaker.PGL.Shapes.Line, 及 LabelMaker.TSPL.Shapes.Line重新實作.

資料成員說明文件

◆ end

LabelMaker.Interfaces.IShapes.ALine.end

◆ line_thickness

LabelMaker.Interfaces.IShapes.ALine.line_thickness

◆ start

LabelMaker.Interfaces.IShapes.ALine.start

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