drafting.text.reader.StyledString¶
-
class
StyledString
(text: str, style: drafting.text.reader.Style)¶ Lowest-level vectorized typesetting class
-
pen
(frame=True) → drafting.pens.draftingpen.DraftingPen¶ Vectorize all text into single
DATPen
-
pens
(frame=True) → drafting.pens.draftingpens.DraftingPens¶ Vectorize text into a
DATPens
, such that each glyph (or ligature) is represented by a single DATPen (or aDATPens
in the case of a color font, which will then nest a DATPen for each layer of that color glyph)
-