1 package JSci.instruments; 2 3 import java.awt.*; 4 5 /** An object that has a Dimension */ 6 7 public interface Dimensions { 8 9 /** @return the width of the image */ 10 int getWidth(); 11 12 /** @return the height of the image */ 13 int getHeight(); 14 15 /** @return the dimension of the image */ 16 Dimension getSize(); 17 18 } 19