Detailed description of issue
Currently we try to add a small feature which can update the font-size during resizing the free hand text box to make the text always full fill the whole box. But I did not find the right API to do this, I tied to extend moseMove handler of AnnotationSelectTool. But there are several problems:
- I cant detect is this a resizing or relocating of box.
- I cant detect the resize direction (right or left, top or bottom)
- The initial text box is not big enough to show all text.
Expected behaviour
update the font-size during resizing the free hand text box to make the text always full fill the whole box
Link to document
{Provide a link to the document in question if possible}
Code snippet
{Provide a relevant code snippet}