phelps.awt.geom

Class Dimension2D_Double

public class Dimension2D_Double extends Dimension2D

Subclass of Dimension2D with double dimensions. Dimension2D should provides a way with inner classes like Point2D, but doesn't.

Version: $Revision: 1.1 $ $Date: 2003/09/29 14:23:15 $

Field Summary
doubleheight
doublewidth
Constructor Summary
Dimension2D_Double()
Dimension2D_Double(double width, double height)
Method Summary
doublegetHeight()
doublegetWidth()
voidsetSize(double width, double height)
StringtoString()

Field Detail

height

public double height

width

public double width

Constructor Detail

Dimension2D_Double

public Dimension2D_Double()

Dimension2D_Double

public Dimension2D_Double(double width, double height)

Method Detail

getHeight

public double getHeight()

getWidth

public double getWidth()

setSize

public void setSize(double width, double height)

toString

public String toString()