Speedyankur
Speedyankur

Reputation: 157

Adding Background color to KineticJS Text object

Any Idea how can we add bg color to a Text object added to stage using KineticJS?

Upvotes: 0

Views: 142

Answers (1)

Nevin
Nevin

Reputation: 3296

Check this : http://www.html5canvastutorials.com/kineticjs/html5-canvas-kineticjs-text-tutorial/

You probably have to add a background object(A rectangle preferably) and use the fill property on that..and then put the text object over that.

The entire tutorial is within that link.

Check it out.

Upvotes: 2

Related Questions