txt

The text module allows the user to create text labels.

Text

class etki.txt.Text(content, x, y, *, color='black', size=12)

The origin for this shape is the bottom-left.

Argument
Purpose
Type
Note

content

Sets the text content of the text object

str

x

Sets how far from the left the Text is

float

y

Sets how far from the bottom the Text is

float

color

Sets the color of the Text

str

Optional

size

Sets the font size of the Text

float

Optional

Last updated