class shoebot.data.Text(bot, text, x=0, y=0, width=None, height=None, outline=False, ctx=None, draw=True, **kwargs)
Changes from Nodebox 1:

font in Nodebox is a native Cocoa font, here it is the font name. _fontsize, _fontsize, _lineheight, _align in Nodebox are public fields.

Implementation of fonts uses Pango instead of Cocoa.

property baseline
property metrics
property bounds

TextBounds namedtuple containing bounds as (x, y, width, height)

property path
property center

Returns the center point of the path, disregarding transforms.

property fill

Doesn’t store exactly the same items as Nodebox for ease of implementation, it has enough to get the Nodebox Dentrite example working.

property stroke
property strokewidth