Skip to content
New issue

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

extending annotation support #628

Closed
abhilashsajeev opened this issue May 29, 2023 · 4 comments
Closed

extending annotation support #628

abhilashsajeev opened this issue May 29, 2023 · 4 comments
Assignees

Comments

@abhilashsajeev
Copy link

There are separate methods to add annotations in annotation_test.go NewLinkAnnotation, NewTextAnnotation.

How about adding other annotations? From the code it is seen that we can add other annotations like Line, Circle etc. It shows in documentation

Could you please provide an example of using AddAnnotationsFile and AnnotationRenderer to create a line at top of all pages in a file?

@abhilashsajeev
Copy link
Author

@hhrutter Providing a minimal example to add Annotations other than Link or Text would be really helpful

@hhrutter
Copy link
Collaborator

Hi!
I do my best to improve the docs and sporadically add new annotation types as time allows.
What would be the annotation you are most interested in for starters?

Rest assured I am happy to integrate new annotation types as long as they come along with accompanying tests.

@abhilashsajeev
Copy link
Author

@hhrutter Adding shapes annotation. Something like a square will be nice

@hhrutter hhrutter changed the title Please Add Documentation for Adding Annotations other than Text and Link. extending annotation support Jul 1, 2023
@hhrutter
Copy link
Collaborator

The latest commit has support for Square and Circle annotations.
More to come..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants