-
Question: I'm trying to create a custom measurement tool in Angular and Fabricjs, similar to the built-in length measurement feature in Acrobat. However, I'm having an issue with rendering the line object when measuring longer distances. When I start measuring (holding the mouse button and moving), the arrow object from a specific length is not rendered correctly. Problem: The issue only occurs when using the latest version of fabricjs. If I switch to an older version (1.5.0), the measurement works as expected. Can you please help me identify what's missing or what's changed in the latest version that's causing this issue? What need to be adjusted? Additional Questions: Are there any other tips or suggestions on how to improve the measurement functionality or make it more similar to the built-in Acrobat Reader measurement tool? Any help or guidance would be greatly appreciated. Demo: Measuring tool |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I do not know the acrobat measuring tool. There may be various issues, you are not very specific on what isn't working as expected. |
Beta Was this translation helpful? Give feedback.
Ok, solution for this is set
strokeWidth
property.