Skip to content

Conversation

@michaelpixelscoder
Copy link

@michaelpixelscoder michaelpixelscoder commented Jul 21, 2025

Implement Shape Annotation tool

The Shape Annotation tool allow the user to place some shapes (rectangle and circle) as annotation

Demo

2025-07-21_shape_annotation.mp4

TODO

  • Implement shape tool button
  • Shape selector
  • Color Picker
  • Add Arrow Shape
  • Stroke Width Picker
  • Serialization

@frankrousseau
Copy link
Contributor

Could you add an arrow shape also?

@frankrousseau
Copy link
Contributor

Hello @michaelpixelscoder, do you have any news about this PR?

@michaelpixelscoder
Copy link
Author

Hi, I just made an update. I added the arrow shape, I refactored it using a custom Fabric shape. At first I was trying by composing a line and a triangle into a group, but it wasn't looking good in the code.

@michaelpixelscoder
Copy link
Author

There is an issue with rectangle and circle serialization, I'm looking into it. I will have more time to work on it this week

@frankrousseau
Copy link
Contributor

Great! Thank you for the update!

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.

2 participants