def draw_character(self, mode, fuse=True): bottom_ending = bottom_ending_class( self, self.bottom_straight, self.bottom_flipped, ) pen = Pen() pen.set_mode(mode) pen.move_to((0, TOP)) pen.turn_to(-90) pen.line_to_y(MIDDLE, start_slant=45) bottom_ending.draw(pen) if fuse: pen.paper.fuse_paths() pen.paper.center_on_x(0) return pen.paper