Construct a new Shape object.

Returns:

Type: Shape | Coordinate
Description: A new shape.

Throws:

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