Base class for ALine. More...
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 |
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.
| 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.
| start | The starting point of the line. |
| end | The ending point of the line. |
| line_thickness | The thickness of the line. |
Reimplemented in LabelMaker.TSPL.Shapes.Line, and LabelMaker.PGL.Shapes.Line.
| 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.
| LabelMaker.Interfaces.IShapes.ALine.end |
| LabelMaker.Interfaces.IShapes.ALine.line_thickness |
| LabelMaker.Interfaces.IShapes.ALine.start |