package wheels; /** * A shape that can have its dimensions scaled. * * @author Zach Tomaszewski * @version Oct 10, 2007 */ public interface Scalable { /** * Scales this shape's dimensions by the given multiplier. *
* For instance, if give 0.5, both this shape's width and its * height would be reduced by 50%. * * @param percent A positive multiplier by which to scale this shape. */ public void scale(double percent); }