Implemented style types in Shape class.