def text(self, x, y, text, color="<STR_LIT>", font=None, size=None, max_width=None):
<EOL>if size is None:<EOL><INDENT>f = Font(self.tk, family=font)<EOL><DEDENT>else:<EOL><INDENT>f = Font(self.tk, family=font, size=size)<EOL><DEDENT>return self.tk.create_text(<EOL>x, y, <EOL>text=text,<EOL>fill = "<STR_LIT>" if color is None else utils.convert_color(color),<EOL>font=f,<EOL>width=max_width,<EOL>anchor="<STR_LIT>")<EOL>
Inserts text into the drawing, position by its top-left corner.

:param int x:
    The x position of the text.

:param int y:
    The x position of the text.

:param str color:
    The color of the text. Defaults to `"black"`.

:param str font:
    The font to use. Defaults to `None` and will use the system
    default font.

:param int size:
    The size of the text. Defaults to `None` and will use the system
    default font size.

:param int max_width:
    Maximum line length. Lines longer than this value are wrapped. 
    Default is `None` (no wrapping).