UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.TSPL.Box类 参考
类 com.UniPRT.Sdk.LabelMaker.TSPL.Box 继承关系图:
com.UniPRT.Sdk.LabelMaker.Interface.IBox

Public 成员函数

 Box (IPoint start, IPoint end, float lineThickness)
 
 Box (float x_start, float y_start, float x_end, float y_end, float lineThickness)
 
IRuler GetRuler ()
 用于放置的标尺。如果未设置,则使用默认的标尺设置。 更多...
 
void SetRuler (IRuler ruler)
 
IPoint GetStart ()
 方框的左上角。 更多...
 
void SetStart (IPoint start)
 
IPoint GetEnd ()
 方框的右下角。 更多...
 
void SetEnd (IPoint end)
 
float GetLineThickness ()
 根据使用的标尺单位设置线条的粗细。 更多...
 
void SetLineThickness (float lineThickness)
 
float GetCornerRounding ()
 方框角落的圆角值。 更多...
 
void SetCornerRounding (float cornerRounding)
 
String toString ()
 

Private 属性

IRuler ruler = Defaults.GetRuler()
 
IPoint start
 
IPoint end
 
float lineThickness
 
float cornerRounding = 0f
 

构造及析构函数说明

◆ Box() [1/2]

com.UniPRT.Sdk.LabelMaker.TSPL.Box.Box ( IPoint  start,
IPoint  end,
float  lineThickness 
)

◆ Box() [2/2]

com.UniPRT.Sdk.LabelMaker.TSPL.Box.Box ( float  x_start,
float  y_start,
float  x_end,
float  y_end,
float  lineThickness 
)

成员函数说明

◆ GetCornerRounding()

float com.UniPRT.Sdk.LabelMaker.TSPL.Box.GetCornerRounding ( )

◆ GetEnd()

IPoint com.UniPRT.Sdk.LabelMaker.TSPL.Box.GetEnd ( )

◆ GetLineThickness()

float com.UniPRT.Sdk.LabelMaker.TSPL.Box.GetLineThickness ( )

根据使用的标尺单位设置线条的粗细。

实现了 com.UniPRT.Sdk.LabelMaker.Interface.IBox.

引用了 com.UniPRT.Sdk.LabelMaker.TSPL.Box.lineThickness.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.TSPL.Box.toString().

◆ GetRuler()

IRuler com.UniPRT.Sdk.LabelMaker.TSPL.Box.GetRuler ( )

用于放置的标尺。如果未设置,则使用默认的标尺设置。

实现了 com.UniPRT.Sdk.LabelMaker.Interface.IBox.

引用了 com.UniPRT.Sdk.LabelMaker.TSPL.Box.ruler.

被这些函数引用 com.UniPRT.Sdk.LabelMaker.TSPL.Box.toString().

◆ GetStart()

IPoint com.UniPRT.Sdk.LabelMaker.TSPL.Box.GetStart ( )

◆ SetCornerRounding()

void com.UniPRT.Sdk.LabelMaker.TSPL.Box.SetCornerRounding ( float  cornerRounding)

◆ SetEnd()

void com.UniPRT.Sdk.LabelMaker.TSPL.Box.SetEnd ( IPoint  end)

◆ SetLineThickness()

void com.UniPRT.Sdk.LabelMaker.TSPL.Box.SetLineThickness ( float  lineThickness)

◆ SetRuler()

void com.UniPRT.Sdk.LabelMaker.TSPL.Box.SetRuler ( IRuler  ruler)

◆ SetStart()

void com.UniPRT.Sdk.LabelMaker.TSPL.Box.SetStart ( IPoint  start)

◆ toString()

类成员变量说明

◆ cornerRounding

float com.UniPRT.Sdk.LabelMaker.TSPL.Box.cornerRounding = 0f
private

◆ end

◆ lineThickness

◆ ruler

IRuler com.UniPRT.Sdk.LabelMaker.TSPL.Box.ruler = Defaults.GetRuler()
private

◆ start


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