FunctionsDrawTextFitDrawTextFit CallableDrawTextFit(Text: string, X: number, Y: number, Width: number, Color: string, BackColor?: string): voidDraws a text element on the canvas that will fit on the specified widthParametersText: stringText to drawX: numberPosition of the text on the X axisY: numberPosition of the text on the Y axisWidth: numberWidth in which the text has to fitColor: stringColor of the textoptionalBackColor: stringColor of the backgroundReturns voidNothing
Draws a text element on the canvas that will fit on the specified width