vandeseer / easytable

Small table drawing library built upon Apache PDFBox
MIT License
246 stars 94 forks source link

How to draw text or small rectangle within ImageCell #71

Closed vikramtambe closed 4 years ago

vikramtambe commented 4 years ago

I have a requirement where I need to draw text or small rectangle/circle/square within imageCell. PS - the data will be dynamic... please see below sample images which i am trying to build. As of now I am able to add background images as ImageCell is easytable.

Please let me know your inputs. e.g image

image

vandeseer commented 4 years ago

You would need to do it the same way as in https://github.com/vandeseer/easytable/issues/60: Create a custom cell type (in this case you would need to extend ImageCell) and build your custom functionality on top of what the base classes already provide you with.