Coordinates of Corners

corner of a sports pitch
Move the dots below to make some squares.

Can you make a variety of squares whose sides are not parallel to the axes?

If you have a set of four coordinates, is there a quick way to decide (without drawing) whether they form a square?