Skip to content

Conversation

@ADARSHsri2004
Copy link
Contributor

Description

Enhanced the canvas rendering logic to make each drawn shape (rectangle, circle, line, etc.) an independent, selectable, and editable object rather than a static part of the bitmap.

Implemented the following interactive features:

  • Each shape now has its own properties (type, position, size, color, stroke width, etc.).
  • Shapes can be selected by clicking on them.
  • Added dragging (move) and resize functionality with visible handles.
  • Enabled color and stroke updates for selected shapes.
  • Shapes can now be deleted individually.

This improves the overall editing capability and UX of the canvas, allowing for more dynamic shape manipulation.


Semver Changes

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

Issues

Closes #39


Checklist

@Ayushivam22
Copy link
Collaborator

image image @ADARSHsri2004 please fix these errors

@ADARSHsri2004
Copy link
Contributor Author

@Ayushivam22 i have fixed the errors

@Ayushivam22 Ayushivam22 merged commit d0e3377 into OPCODE-Open-Spring-Fest:main Oct 28, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Make shapes as individual selecatable components

2 participants