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
1.6.5
canvas.add(new fabric.Path('M100,100 L186.60254037844388,50.00000000000001 A100,100 0 0,1 100,200 z', { fill: 'rgb(255,0,0)' }));
Path has wrong bounding box. If path is drawn in the opposite way controls are good
The text was updated successfully, but these errors were encountered:
etended case:
canvas.add(new fabric.Path('M200,50 A100,100 0 1,0 100,200', { stroke: 'rgb(255,0,0)', fill: '' })); canvas.add(new fabric.Path('M200,50 A100,100 0 1,1 100,200', { stroke: 'rgb(255,0,0)', fill: '' })); canvas.add(new fabric.Path('M200,50 A100,100 0 0,0 100,200', { stroke: 'rgb(0,255,0)', fill: '' })); canvas.add(new fabric.Path('M200,50 A100,100 0 0,1 100,200', { stroke: 'rgb(255,0,0)', fill: '' }));
only the green ( with the 0,0 flag is correct )
Sorry, something went wrong.
those are width and height parsed by fabricjs:
firefox path parsing from svg:
only the green one is similar.
ok this was actually a regression and a strange one.
Successfully merging a pull request may close this issue.
Version
1.6.5
Test Case
canvas.add(new fabric.Path('M100,100 L186.60254037844388,50.00000000000001 A100,100 0 0,1 100,200 z', { fill: 'rgb(255,0,0)' }));
Path has wrong bounding box.
If path is drawn in the opposite way controls are good
The text was updated successfully, but these errors were encountered: