1 /* Copyright (C) 1999 Free Software Foundation
3 This file is part of libjava.
5 This software is copyrighted work licensed under the terms of the
6 Libjava License. Please consult the file "LIBJAVA_LICENSE" for
12 * @author Per Bothner <bothner@cygnus.com>
13 * @date Fenruary, 1999.
16 /* Written using online API docs for JDK 1.2 beta from http://www.javasoft.com.
17 * Status: Believed complete and correct.
20 public abstract class Dimension2D implements Cloneable
22 public abstract double getWidth();
23 public abstract double getHeight();
25 public abstract void setSize (double width, double height);
27 public void setSize (Dimension2D dim)
29 setSize(dim.getWidth(), dim.getHeight());
32 public Object clone ()