gamelib.py
def draw_text(self, text: str, x: int, y: int, font: str, size: int, bold: True, italic: True, kwargs) -> None:
        "Draws text lines in the canvas."

        options = {"fill": "white"}
        options.update(kwargs)
        self.canvas.create_text(x, y, text=text, font=self.get_font(font, size, bold, italic), tag="text", **options)
Draws text lines in the canvas.
Draws text lines in the canvas.
Draws text lines in the canvas .
def draw_text(self, text: str, x: int, y: int, font: str, size: int, bold: True, italic: True, kwargs) -> None:
        options = {"fill": "white"}
        options.update(kwargs)
        self.canvas.create_text(x, y, text=text, font=self.get_font(font, size, bold, italic), tag="text", **options)
def draw_text ( self , text : str , x : int , y : int , font : str , size : int , bold : True , italic : True , kwargs ) -> None : options = { "fill" : "white" } options . update ( kwargs ) self . canvas . create_text ( x , y , text = text , font = self . get_font ( font , size , bold , italic ) , tag = "text" , ** options )
Draws text lines in the canvas.
Draws text lines in the canvas .
"Draws text lines in the canvas."
self
text
str
x
int
y
int
font
str
size
int
bold
True
italic
True
kwargs