drafting.text.composer.Composer

class Composer(rect: drafting.geometry.rect.Rect, text: str, style: drafting.text.reader.Style, leading=10, fit=None)

For multiline text lockups

pen()

Entire multiline text as a single vector

pens()

Structured representation of the multi-line text

In the return DATPens, each line will be a DATPens, then within those lines, each glyph/ligature for that line will be an individual DATPen