scalation.scala2d
The Octagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building an octagon given its vertices.
the eight corner points of the octagon
Construct a equilateral Hexagon.
the top left point for the octagon (min x and y coordinates)
the length of each side in the octagon
Show the flaw by printing the error message.
the method where the error occurred
the error message
Get the topLeft coordinates of the polygons bounding box.
(Since version 2.8.0) use productIterator instead
The Octagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building an octagon given its vertices.
the eight corner points of the octagon