Skip to content

Conversation

@Shreyanshi210205
Copy link
Contributor

@Shreyanshi210205 Shreyanshi210205 commented Nov 6, 2025

Description

I have implemented the text tool functionality . On clicking the text tool we get a textbox to write the text in that and it can be resized and dragged as required.
Used the idea of trimming the text according to the dynamic sizing of textbox and determining font size accordingly .
It also lets the whole content fit in the textbox without any overflow both lengthwise as well as heightwise.
On selecting select tool and single clicking over text we get to resize or drag the textbox however on double clicking we get to edit the text as required .
We commit our text to the canvas after we finish writing/editing our text and click elsewhere.

image

Semver Changes

  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

#61

Checklist

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant