Text

class ez_pil.text.Text(text, font, color='black')

Text class.

Parameters:
  • text (str) – Text

  • font (FreeTypeFont | Font) – Font for text

  • color (int | str | tuple[int, int, int] | tuple[int, int, int, int]) – Font color, by default “black”

getsize()