pyumldiagrams.pdf.PdfLine

Attributes

PDFCoordinate

PDFCoordinates

PolyPoint

PolyPoints

Classes

PdfLine

This class takes responsibility for drawing the various types of lines within the

Module Contents

pyumldiagrams.pdf.PdfLine.PDFCoordinate
pyumldiagrams.pdf.PdfLine.PDFCoordinates
pyumldiagrams.pdf.PdfLine.PolyPoint
pyumldiagrams.pdf.PdfLine.PolyPoints
class pyumldiagrams.pdf.PdfLine.PdfLine(pdf: fpdf.FPDF, diagramPadding: pyumldiagrams.Definitions.DiagramPadding, dpi: int)

Bases: pyumldiagrams.IDiagramLine.IDiagramLine

Inheritance diagram of pyumldiagrams.pdf.PdfLine.PdfLine

This class takes responsibility for drawing the various types of lines within the described UML classes. End users generally do not directly use this class. It is split off as part of the separation of responsibility principle.

Parameters:
  • docMaker – An instance of the document generation object.

  • diagramPadding – Object that contains the observed margins and gaps. See pyumldiagrams.Definitions.DiagramPadding

INHERITANCE_ARROW_HEIGHT: Final = 10
DIAMOND_HEIGHT: Final = 8
DASH_LENGTH: Final = 5.0
DASH_GAP_LENGTH: Final = 7.0
logger: logging.Logger
draw(lineDefinition: pyumldiagrams.Definitions.UmlLineDefinition)

Draw the line described by the input parameter :param lineDefinition: Describes the line to draw

drawLollipopInterface(umlLollipopDefinition: pyumldiagrams.Definitions.UmlLollipopDefinition)