Construct a Right Triangle.
Construct a Right Triangle.
the top left point for the triangle (min x and y coordinates)
the width of the triangle (change in x)
the heigth of the triangle (change in y)
Construct a Right Isosceles Triangle.
Construct a Right Isosceles Triangle.
the top left point for the triangle (min x and y coordinates)
the length of the two sides emanating from topLeft
the three corner points of the triangle
Get the topLeft coordinates of the polygons bounding box.
the three corner points of the triangle
The Triangle class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a triangle given its vertices.
the three corner points of the triangle