Discrepancy in Circle Element Stroke Width and Position Between Preview and Render in Fabric.js Canvas #10194
Replies: 2 comments 3 replies
-
You are probably doing something with code that you are not showing. Data only won't make anyone solve this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Duplicate of #10199 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When applying a stroke width of 50 to a circle element in the canvas, a noticeable inconsistency occurs between the stroke width displayed during the preview and the stroke width after rendering the canvas. The stroke appears correctly during the preview, but after rendering, there is a visible discrepancy in the stroke width, making it appear different.
The stroke width appears to change between the preview stage and after the canvas is fully rendered, leading to a mismatch in visual output. Due to this issue also affected on the that element position.
Before The Render Canvas:
After The Render Canvas:
This is my Canvas JSON data while saving the the Canvas
This is My Canvas JSON after the Re-Render Canvas JSON data getting
this is My Canvas JSON while getting data preview for the loadFromJSON method to loadJSon data in canvas and getActiveObject method to retrieve that object data
Beta Was this translation helpful? Give feedback.
All reactions