gniziemazity / advanced_drawing_app

Making an advanced drawing app during my live streams:
MIT License
28 stars 24 forks source link

Feature/shape front back #22

Closed bantya closed 3 months ago

bantya commented 3 months ago

This PR adds an ability to handle shape ordering. i.e. sending shapes to back or front.

The ordering functionality has 4 options.

  1. Send Back: Sends the selected shape back by one level.
  2. Bring Front: Brings the selected shape to top by one level.
  3. Send Backward: Sends the selected shape to back of all shapes.
  4. Bring Forward: Brings the selected shape to the top of all shapes.

Please note, this only works for one of the selected shapes.