I can't seem to be able to add text to a canvas if the text includes "
". I mean, the line breaks do not show/work.
ctxPaint.fillText("s ome
\n <br/> thing", x, y);
The above code will draw "s ome
<br/> thing"
, on one line.
Is this a limitation of fillText or am I doing it wrong? the "
"s are there, and aren't printed, but they don't work either.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…