Same line layout

class text_renderer.layout.SameLineLayout(h_spacing: Tuple[float, float] = 0, 1)[source]

Draw multiple texts horizontally at random intervals.

TODO: add vertical offset

Parameters

h_spacing (float, float) – Horizontal spacing between each bbox. scale * average height of text