Skip to content

surf:drawText

CrazedProgrammer edited this page Apr 23, 2017 · 4 revisions

surf:drawText(str, font, x, y[, b, t, c])

  • str (string)
    Drawing text
  • font (font)
    Text font
  • x, y (int)
    Starting position
  • b, t, c (colour)
    Drawing colour

Draws the text with the provided font.
Not to be confused with surf:drawString.

Clone this wiki locally