/**
  * Sets the width of the shape.
  *
  * @param width the width of the shape
  */
 public void setWidth(double width) {
   dim.setWidth(width);
 }