xmlgraphics-commons 1.3

org.apache.xmlgraphics.java2d
Class Dimension2DDouble

java.lang.Object
  extended byjava.awt.geom.Dimension2D
      extended byorg.apache.xmlgraphics.java2d.Dimension2DDouble
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Dimension2DDouble
extends java.awt.geom.Dimension2D
implements java.io.Serializable

Subclass of Dimension2D which takes double values.

See Also:
Serialized Form

Constructor Summary
Dimension2DDouble()
          Default constructor.
Dimension2DDouble(double width, double height)
          Main constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 double getHeight()
          
 double getWidth()
          
 int hashCode()
          
 void setSize(double w, double h)
          
 java.lang.String toString()
          
 
Methods inherited from class java.awt.geom.Dimension2D
clone, setSize
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dimension2DDouble

public Dimension2DDouble()
Default constructor.


Dimension2DDouble

public Dimension2DDouble(double width,
                         double height)
Main constructor.

Parameters:
width - initial width
height - initial height
Method Detail

getWidth

public double getWidth()


getHeight

public double getHeight()


setSize

public void setSize(double w,
                    double h)


equals

public boolean equals(java.lang.Object obj)


hashCode

public int hashCode()


toString

public java.lang.String toString()


xmlgraphics-commons 1.3

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.