Reputation: 7
I am trying to built an editor using kineticjs. There are some options like add text and adding styles to the added text like bold underline. is there any option to set bullets in text style?
like this one
Upvotes: 0
Views: 133
Reputation: 20363
You may use power of UTF8 with •
char
var text = new Kinetic.Text({
fill : "black",
text : "• item 1\n• item 2"
});
demo: http://jsfiddle.net/lavrton/2QeM5/1/
Update: also you may use html to image convertion, then you can add image to canvas. See: http://jsfiddle.net/lavrton/sDp6C/
Upvotes: 1