@guy120334913 wrote:
I have a question that might be a bit silly, but why is the constructor for Rectangle class taking Point for size and location, rather than Vector2?
This is not a big issue, but rather inconvenient, considering that e.g. mouse position or positions for drawing strings etc. are Vector2.
Of course if I want to draw a string at the same position as a rectangle, or draw a rectangle at mouse position, I can use the ToVector2 or ToPoint methods to convert, but I am wondering as to why this would be a thing? I guess I just can't see the POINT ba-dum-tssss!
Posts: 3
Participants: 3