API¶
Work in progress
Geometry
|
Representation of a point (x,y), indexable |
|
|
|
|
|
Representation of a rectangle as (x, y, w, h), indexable |
Textsetting Classes
|
Class for configuring font properties |
|
Lowest-level vectorized typesetting class |
|
For multiline text lockups |
|
Very experimental module to support rich-text from annotated strings, like a super-minimal-but-open-ended subset of markdown, inspired by the way rich text is built up in the time.nle.premiere DPS subclass in coldtype |
The most important thing to understand is that textsetting classes can be turned into vector classes via the .pen
or .pens
methods available on both StyledString
and Composer
— .pen
gets you a single vector representation of a piece of text (aka a DATPen
), while .pens
gets you a structured list of DATPen’s, aka a DATPens
.
Vector/Path Classes
Fluent subclass of RecordingPen |
|