stroke_text method

stroke_text

Draws (strokes) a given text at the given (x, y) position.

def stroke_text(self, text, x, y):
    ...
ParameterTypeDescription
textstrThe text to draw using the current font, textAlign, textBaseline, and direction values.
xfloatThe x axis of the coordinate for the text starting point.
yfloatThe y axis of the coordinate for the text starting point.

stroke_text {#str-float-float-Nullable}

def stroke_text(self, text, x, y, max_width):
    ...
ParameterTypeDescription
textstr
xfloat
yfloat
max_widthNullable

See Also