The next example involves octagons |
Since an octagon has eight vertices, one of the constructors of the Octagon class requires sixteen integers |
To make it easier to work with octagons, we introduce another class: the Point class |
Like Polygon, the Point class is a core class in package java.awt |