- def draw_centered_text(self, cx, cy, text, theta=0, color=[0, 0, 0], bounding_box=False):
+ def draw_centered_text(self, cx, cy, text, theta=0,
+ color=[0, 0, 0],
+ align_baseline=False,
+ bb_fill=True, bb_fill_color=[1, 1, 1, 0.8],
+ bb_stroke=False, bb_stroke_color=[0, 0, 0, 0.5]):