PDFJsAnnotations icon indicating copy to clipboard operation
PDFJsAnnotations copied to clipboard

Is it possible to Add Draw Rectangle with border alone feature to annotate?

Open jinuem opened this issue 7 years ago • 8 comments

Is it possible to Add Draw Rectangle with border alone feature to annotate?

So User can click Rectangle icon and select the text or image to marked inside rectangle to annotate.

jinuem avatar Mar 29 '19 09:03 jinuem

No it's not possible, because the final output is a PDF file with images of the pages with annotations(text or drawings)

RavishaHesh avatar Mar 29 '19 16:03 RavishaHesh

@RavishaHesh thanks for replying. What i meant was, like text or drawing. can we draw a rectangle to annotation and get the JSON object of it.?

jinuem avatar Mar 30 '19 13:03 jinuem

Sorry, I misunderstood your question. Rectangle tool does not support in current version. But I'm planning to rewrite the library soon(probably within this weekend 🤞) with few features and I'm planning to add rectangle tool too.

RavishaHesh avatar Mar 30 '19 14:03 RavishaHesh

@RavishaHesh Wow. Thanks. I am waiting. :)

jinuem avatar Apr 01 '19 05:04 jinuem

@RavishaHesh any update on the Rectangle?

jinuem avatar Apr 02 '19 05:04 jinuem

Sorry @jinuem it seems new version needs more time than I planned, I'm trying to add the text layer and it's littlebit tricky, but I'll try to add rectangle feature to the current version within next two days.

RavishaHesh avatar Apr 02 '19 16:04 RavishaHesh

@RavishaHesh Thanks man. :) Awaiting for that ..

jinuem avatar Apr 03 '19 05:04 jinuem

@jinuem Added rectangle tool to the master branch

RavishaHesh avatar Apr 03 '19 17:04 RavishaHesh