case classPentagon(vertex: Array[R2]) extends Double with Product with Serializable
The Pentagon class enhances the Path2D.Double class (from the java.awt.geom
package) by adding a constructor for building a pentagon given its vertices.
vertex
the five corner points of the pentagon
Linear Supertypes
Serializable, Product, Equals, Double, Serializable, Path2D, Cloneable, Shape, AnyRef, Any
The Pentagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a pentagon given its vertices.
the five corner points of the pentagon