You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more of a question than anything, but I haven't been able to find anything in the documentation.
I'm trying to make hollow figures by setting fillStyle: "transparent" and lineWidth: x. While it works, it seems like the objects aren't colliding at the border of the linewidth, but at the middle point between the object width and the border width, causing issues like this one:
If you activate the wireframes everything is working properly, but I'm not sure if there's any way to make the wireframe account for the border size so this doesn't happen.
The text was updated successfully, but these errors were encountered:
As far as I know canvas doesn't support stroke alignment other than the centre, so you'd have to adjust for this manually using some custom rendering, the easiest approach might be to set the canvas scale before drawing the body. See my also my answer to #779 which is a similar issue.
This is more of a question than anything, but I haven't been able to find anything in the documentation.
I'm trying to make hollow figures by setting
fillStyle: "transparent"
andlineWidth: x
. While it works, it seems like the objects aren't colliding at the border of the linewidth, but at the middle point between the object width and the border width, causing issues like this one:If you activate the wireframes everything is working properly, but I'm not sure if there's any way to make the wireframe account for the border size so this doesn't happen.
The text was updated successfully, but these errors were encountered: