Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alternative ways to draw a rectangle #672

Open
fenjalien opened this issue Aug 7, 2024 · 0 comments
Open

Add alternative ways to draw a rectangle #672

fenjalien opened this issue Aug 7, 2024 · 0 comments
Milestone

Comments

@fenjalien
Copy link
Member

We currently allow rectangles to be drawn by specifying their top left and bottom right coordinates. This technically also allows the top left coordiante and the width and height to be specified as well.

It would be better to allow different ways to specify a rectangle, Processing allows the following:

  • CORNER: upper left corner and width/height
  • CORNERS: upper left and bottom right (what we do at the moment)
  • CENTER: center and width/height
@johannes-wolf johannes-wolf added this to the 0.4.0 milestone Sep 6, 2024
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

No branches or pull requests

2 participants