I need to display text tot he screen for a POC I'm doing and I have formatted text (somewhat of a table) that I need to display on screen as an overlay when the "A" button is pressed. I am retrieving the data data from a php call and I am just wondering what the best way of displayign the multiline text is. I tried sending back html using "<br />". I also tried using the new line escape sequence which didnt work either. I saw that there is a roParagraphScreen, but I wasn't sure if I can use this in a canvas overlay type setup. Any ideas? Currently using something like the below block, which works great if my text is one line.
textToDisplay = "This is a test"
list.Push({
Text: textToDisplay
TextAttrs: { font: "small" }
TargetRect: canvas.GetCanvasRect()
})
canvas.SetLayer(0, { Color: color, CompositionMode: "Source" })
canvas.SetLayer(1, list)