Skip to main content

DrawText

Callable

  • DrawText(Text: string, X: number, Y: number, Color: string, BackColor?: string): void

  • Draws a text element on the canvas


    Parameters

    • Text: string

      Text to draw

    • X: number

      Position of the text on the X axis

    • Y: number

      Position of the text on the Y axis

    • Color: string

      Color of the text

    • optionalBackColor: string

      Color of the background

    Returns void

    • Nothing