UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.Interfaces.IShapes.ALine Class Reference

Base class for ALine. More...

Inheritance diagram for LabelMaker.Interfaces.IShapes.ALine:
LabelMaker.Interfaces.IShapes.ILine LabelMaker.PGL.Shapes.Line LabelMaker.TSPL.Shapes.Line

Public Member Functions

 __init__ (self, IPoint start, IPoint end, float line_thickness)
 Initializes a Line with a start point, end point, and line thickness.
 
str __str__ (self)
 Returns a string representation of the line.
 

Public Attributes

 start
 
 end
 
 line_thickness
 

Additional Inherited Members

- Static Public Attributes inherited from LabelMaker.Interfaces.IShapes.ILine
Optional ruler [IRuler]
 
IPoint start
 
IPoint end
 
float line_thickness
 

Detailed Description

Base class for ALine.

This class provides a basic implementation of a Line, with attributes for start and end points, line thickness, and an optional ruler.

Constructor & Destructor Documentation

◆ __init__()

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

Initializes a Line with a start point, end point, and line thickness.

This constructor sets the start and end points, line thickness, and initializes the ruler to None by default.

Parameters
startThe starting point of the line.
endThe ending point of the line.
line_thicknessThe thickness of the line.

Reimplemented in LabelMaker.TSPL.Shapes.Line, and LabelMaker.PGL.Shapes.Line.

Member Function Documentation

◆ __str__()

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

Returns a string representation of the line.

Reimplemented in LabelMaker.PGL.Shapes.Line, and LabelMaker.TSPL.Shapes.Line.

Member Data Documentation

◆ end

LabelMaker.Interfaces.IShapes.ALine.end

◆ line_thickness

LabelMaker.Interfaces.IShapes.ALine.line_thickness

◆ start

LabelMaker.Interfaces.IShapes.ALine.start

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