Add alternative ways to draw a rectangle
Opened this issue · 0 comments
fenjalien commented
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/heightCORNERS
: upper left and bottom right (what we do at the moment)CENTER
: center and width/height