Have rectangles drawn in ccw order

This commit is contained in:
Grant Sanderson 2020-06-05 13:23:15 -07:00
parent a3e76334a6
commit e5a215cbd6

View file

@ -779,7 +779,7 @@ class Rectangle(Polygon):
}
def __init__(self, **kwargs):
Polygon.__init__(self, UL, UR, DR, DL, **kwargs)
Polygon.__init__(self, UR, UL, DL, DR, **kwargs)
self.set_width(self.width, stretch=True)
self.set_height(self.height, stretch=True)