Construct a Parallelogram (Rectangle if shift is 0).
Construct a Parallelogram (Rectangle if shift is 0).
the top left point for the parallelogram (min x and y coordinates).
the width of the parallelogram (change in x)
the heigth of the parallelogram (change in y)
the x-shift between top and bottom sides
Construct a Square.
Construct a Square.
the top left point for the square (min x and y coordinates)
the length of each side in the square
the four corner points of the quadrilateral
Get the topLeft coordinates of the polygons bounding box.
the four corner points of the quadrilateral
The Quad class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a quadrilateral given its vertices.
the four corner points of the quadrilateral