1.7. pymilestone.subcaption.py

Module containing the class for the subcaption.

class pymilestone.subcaption.Subcaption(text, lines=1)

Class for the subcaption.

Parameters
  • text (str) – Text of the subcaption. Linebreaks must be added manually by inserting \n into the string.

  • lines (int, optional) – Number of lines. Defines the height of the subcaption. Must be adjusted, if line breaks are added.

lines

Number of lines. Defines the height of the caption.

text

Text of the caption.

type

The element type.