def set_text(self, point, text):
if not self.option.legend:<EOL><INDENT>return<EOL><DEDENT>if not isinstance(point, Point):<EOL><INDENT>point = Point(point)<EOL><DEDENT>for offset, char in enumerate(str(text)):<EOL><INDENT>self.screen.canvas[point.y][point.x + offset] = char<EOL><DEDENT>
Set a text value in the screen canvas.