Helmut Hort Posted May 30, 2012 Posted May 30, 2012 Hi Farshad, how can I place a text into a unigui canvas field? Can You or anyone else give me a code example? Best regards Helmut Quote
zilav Posted May 30, 2012 Posted May 30, 2012 UniSession.AddJS(Format('var ctx=document.getElementById("%s_canvas").getContext("2d"); ctx.font="bold 16px Arial"; ctx.fillStyle = "blue"; ctx.fillText("Hello!", 40, 40);', [uniCanvas1.JSName])); More on topic http://diveintohtml5.info/canvas.html#text Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.