DrawTextFit CallableDrawTextFit(Text, X, Y, Width, Color, BackColor): 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