mpl.mathtext.HCentered

class mpl.mathtext.HCentered(elements)[source]

A convenience class to create an Hlist whose contents are centered within its enclosing box.

__init__(elements)[source]

Methods

__init__(elements)
get_kerning(next)
grow()
hpack([w, m]) The main duty of hpack() is to compute the dimensions of the resulting boxes, and to adjust the glue if one of those dimensions is pre-specified.
kern() Insert Kern nodes between Char nodes to set kerning.
render(x1, y1, x2, y2)
shrink()