wrapText
@forge/monorepo / backend/src / wrapText
Function: wrapText()
wrapText(
text,maxWidth,size,face): readonlystring[]
Defined in: backend/src/export/pdf.ts:130
Break a string into lines that fit maxWidth, breaking on words and only inside a word when it must.
Parameters
text
string
maxWidth
number
size
number
face
Returns
readonly string[]