Hello,
I have the following code in the onUpdate function of my watchface (should draw text that is rounded like an arc):
var sz = 20;
var nf=Toybox.Graphics.getVectorFont({:face=>"RobotoItalic", :size=>sz});
dc.drawAngledText(
200,
200,
Graphics.getVectorFont({ :face => "Roboto", :size => 20 }),
getTime(dc),
Graphics.TEXT_JUSTIFY_CENTER,
45
);
But when I run it on the sim, it crashes with this error:
Error: Symbol Not Found Error Details: Could not find symbol 'getVectorFont' Stack: - onUpdate() at C:\Users\aaron\GarminDev\SilverWatchFace_copy\source\SilverWatchFaceView.mc:33 0x1000024e
What could I do to make it work?
Thanks in advance
Aaron Eisele