Text#

class easy_pil.text.Text(text: str, font: FreeTypeFont | Font, color: int | str | Tuple[int, int, int] | Tuple[int, int, int, int] = 'black')#

Text class

Parameters:
  • text (str) – Text

  • font (ImageFont.FreeTypeFont) – Font for text

  • color (Color, optional) – Font color, by default “black”

getsize()#