DrawTextRectangle(x1, y1, x2, y2, text)The function draws an text stretched to a rectangle defined by coordinates (x1, y1) and (x2, y2). Example:
SetFontSize(50) DrawTextRectangle(100, 100, 300, 200, "Hello World")This is how result would look like (red coordinates are just for reference):

See also: