Feature: How to add more tools like rectangle,circle,polygons?
Hi @agentcooper ,
Great library. As the name says it is used to highlight the pdfs which it does with great precision. I am wondering if you could guide me a bit on how to extend this library to add more features to it like rectangles, circles, polygons etc.
@justpankajdotcom im looking for the same features to implement, also drawing on the pdf
Hi @KarthikeyaKollu, after many days of searching I found this library to be most actively maintained https://github.com/Laomai-codefee/pdfjs-annotation-extension
Happy to work with you as I am also trying to figure out best way to integrate with my app.
@justpankajdotcom Thanks for sharing the pdf-extension
My use case involves rendering a PDF document, displaying both the text and pdf page accurately. On top of that, I want to add multiple annotation layers. These layers should allow users to highlight text, sketch freely, use a pen tool, and draw shapes(so that i can able to disable some layers when needed). Additionally, when drawing shapes with the pen tool, they should automatically convert into perfect geometric shapes for a polished look.
if you know anything related to these features , it would be helpful for me
The extension I shared to you should be able to do what you asked @KarthikeyaKollu