Implemented geometric shapes as components of an object.