case CIRCLE:
return ((Circle) f).getBounds().width;
case FREEFORM:</BUG>
return 0;
case LINE:
<BUG>return ((Line) f).getBounds().width;
case RECTANGLE:
return ((Rectangle) f).getBounds().width;
default:</BUG>
return 0;

case CIRCLE:
return f.getBounds().width;
case FREEFORM:
return 0;
case LINE:
return f.getBounds().width;
case RECTANGLE:
return f.getBounds().width;
default:
return 0;
