fixed up TextPath tests

This commit is contained in:
Eric Rowell
2013-03-19 09:40:48 -07:00
parent f3dd9286a9
commit 97db4fc053
2 changed files with 10 additions and 8 deletions

View File

@@ -38,6 +38,7 @@
Kinetic.Shape.call(this, config);
// overrides
// TODO: shouldn't this be on the prototype?
this._fillFunc = _fillFunc;
this._strokeFunc = _strokeFunc;
@@ -75,6 +76,7 @@
context.translate(p0.x, p0.y);
context.rotate(glyphInfo[i].rotation);
this.partialText = glyphInfo[i].text;
canvas.fillStroke(this);
context.restore();