I'm at a loss here. I need to dynamically draw text with Canvas.DrawText, and while it works the first time around, when the text is changed it overlaps.
I've tried:
My end goal for drawing text is so that I can stretch it out, and modify it. using simply a label does not allow me to achieve this.
I've tried:
- Canvas.ClearRect()
- Canvas.DrawRect() - with fx.Colors.Transparent
- Setting views invisible and visible again
- Adding and removing canvas from pane.
Code in question::
cnv.DrawText(New, cnv.Width/2, cnv.Height, fx.LoadFont(File.DirAssets, "ITC_Souvenir_LT_Light.ttf", 48), fx.Colors.Black, "CENTER")
My end goal for drawing text is so that I can stretch it out, and modify it. using simply a label does not allow me to achieve this.