Quiero agregar algo de texto dentro de mi rectángulo jsPDF .
doc.rect(x, y, w, h, style) doc.text(x+10,y+20,"Hello"); // the more doc.text() I add, the height of the rectangle should keep on increasingQuiero que mi texto permanezca siempre dentro del rectángulo, sin importar cuánto agregue. ¿Cómo puedo hacer eso?