Revert "[BUG #7848] Added the methods "getWidths" and "getHeights" to get the width / height values of the collection elements."

This reverts commit a9dbcaf3886844c6cf8f79a443cb6dd3effb4955.