Construct a new Shape object.

This is the basic Shape class. It can be considered an abstract class, even though no such thing really existing in JavaScript

Returns:

Type: Shape | Coordinate
Description: A new shape.

Throws:

MemoryException if there is no more memory
GeneralShapeException rarely (if ever)