teledraw-canvas icon indicating copy to clipboard operation
teledraw-canvas copied to clipboard

FEATURE: adding support for Text

Open exocode opened this issue 11 years ago • 1 comments
trafficstars

Hi there,

I implemented your canvas plug into the "pivotate" plugin which WAS really basic.

Now it has your editor and got awesome! see here it's a Chrome Plugin (https://github.com/mediatainment/pivotate)

What I am missing lastly the possibility to draw text on the canvas.

It seems very basic

var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");

ctx.font="20px Georgia";
ctx.fillText("Hello World!",10,50);

It would be nice if it works similar like canvas.setTool('text'); Would you help me to get this done?

best regards

exocode avatar Oct 03 '14 07:10 exocode

This sounds pretty straightforward. I'll attempt this when I get a chance...

lakenen avatar Oct 03 '14 20:10 lakenen