UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.PGL.Box Class Reference
Inheritance diagram for com.UniPRT.Sdk.LabelMaker.PGL.Box:
com.UniPRT.Sdk.LabelMaker.Interface.IBox

Public Member Functions

 Box (IPoint start, IPoint end, float lineThickness)
 
 Box (float x_start, float y_start, float x_end, float y_end, float lineThickness)
 
IRuler GetRuler ()
 The ruler used for placement. If not set, the default ruler setting is used. More...
 
void SetRuler (IRuler ruler)
 
IPoint GetStart ()
 Upper left corner of box. More...
 
void SetStart (IPoint start)
 
IPoint GetEnd ()
 Bottom right corner of box. More...
 
void SetEnd (IPoint end)
 
float GetLineThickness ()
 Thickness of line based on the ruler units in use. More...
 
void SetLineThickness (float lineThickness)
 
float GetCornerRounding ()
 Rounding value of the box corner. More...
 
void SetCornerRounding (float cornerRounding)
 
String toString ()
 

Private Attributes

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

Constructor & Destructor Documentation

◆ Box() [1/2]

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

◆ Box() [2/2]

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

Member Function Documentation

◆ GetCornerRounding()

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

◆ GetEnd()

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

◆ GetLineThickness()

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

Thickness of line based on the ruler units in use.

Implements com.UniPRT.Sdk.LabelMaker.Interface.IBox.

References com.UniPRT.Sdk.LabelMaker.PGL.Box.lineThickness.

Referenced by com.UniPRT.Sdk.LabelMaker.PGL.Box.toString().

◆ GetRuler()

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

The ruler used for placement. If not set, the default ruler setting is used.

Implements com.UniPRT.Sdk.LabelMaker.Interface.IBox.

References com.UniPRT.Sdk.LabelMaker.PGL.Box.ruler.

Referenced by com.UniPRT.Sdk.LabelMaker.PGL.Box.toString().

◆ GetStart()

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

◆ SetCornerRounding()

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

◆ SetEnd()

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

◆ SetLineThickness()

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

◆ SetRuler()

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

◆ SetStart()

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

◆ toString()

Member Data Documentation

◆ cornerRounding

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

◆ end

◆ lineThickness

◆ ruler

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

◆ start


The documentation for this class was generated from the following file: