We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://jsfiddle.net/ybJM4/
http://jsfiddle.net/lannymcnie/6vUVr/
The text was updated successfully, but these errors were encountered:
下記をTextのdraw時に設定すれば、きれいにoutlineが出る
// 座布団文字のために値を修正 ctx.miterLimit = 2; ctx.lineJoin = 'circle';
createjsがサポートしていないので、以下のパッチをあてて、createjsをoverrideする
/** * Text draw patch */ createjs.Text.prototype.draw = function(ctx, ignoreCache) { if (this.DisplayObject_draw(ctx, ignoreCache)) { return true; } var col = this.color || "#000"; if (this.outline) { ctx.strokeStyle = col; ctx.lineWidth = this.outline * 1; // 座布団文字のために値を修正 ctx.miterLimit = 2; ctx.lineJoin = 'circle'; } else { ctx.fillStyle = col; } this._drawText(this._prepContext(ctx)); return true; };
Sorry, something went wrong.
CreateJS/EaselJS#571 プルリクだした
No branches or pull requests
http://jsfiddle.net/ybJM4/
http://jsfiddle.net/lannymcnie/6vUVr/
The text was updated successfully, but these errors were encountered: