Skip to content
New issue

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

Stroke lineWidth bug #14

Closed
sannefoltz opened this issue Jul 26, 2014 · 3 comments
Closed

Stroke lineWidth bug #14

sannefoltz opened this issue Jul 26, 2014 · 3 comments

Comments

@sannefoltz
Copy link

When for instance you have an arc and want to Stroke it.
ctx.beginPath();
ctx.arc(100, 100, 300, 0.85 * Math.PI, 2.15 * Math.PI, false);
ctx.strokeStyle = "red";
ctx.lineWidth = 20;
ctx.stroke();

This lineWidth stroke property stays at 20, which results in a thinner circle border.

Any idea's how to solve this?

I am not sure, but lines also look thinner in general (so with lineTos), I am not sure if this lineWidth property is being touched at all.

(Beautiful work), regards

@sannefoltz sannefoltz changed the title Stroke bug Stroke lineWidth bug Jul 26, 2014
@jondavidjohn
Copy link
Owner

👍 Thanks for the report

@sannefoltz
Copy link
Author

No problem, thanks for your beautiful work 💪

@jondavidjohn
Copy link
Owner

😄 Get it sorted? just tested against 1.0.9 loaded as an "external resource" and it looks right to me => http://jsfiddle.net/tvfG2/1/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants