def text(self, txt, x, y, width=None, height=<NUM_LIT>, outline=False, draw=True, **kwargs):
txt = self.Text(txt, x, y, width, height, outline=outline, ctx=None, **kwargs)<EOL>if outline:<EOL><INDENT>path = txt.path<EOL>if draw:<EOL><INDENT>path.draw()<EOL><DEDENT>return path<EOL><DEDENT>else:<EOL><INDENT>return txt<EOL><DEDENT>
Draws a string of text according to current font settings.

:param txt: Text to output
:param x: x-coordinate of the top left corner
:param y: y-coordinate of the top left corner
:param width: text width
:param height: text height
:param outline: If True draws outline text (defaults to False)
:param draw: Set to False to inhibit immediate drawing (defaults to True)
:return: Path object representing the text.