com.itextpdf.awt.geom
Class Dimension

java.lang.Object
  extended by com.itextpdf.awt.geom.Dimension2D
      extended by com.itextpdf.awt.geom.Dimension
All Implemented Interfaces:
Serializable, Cloneable

public class Dimension
extends Dimension2D
implements Serializable

See Also:
Serialized Form

Field Summary
 double height
           
 double width
           
 
Constructor Summary
Dimension()
           
Dimension(Dimension d)
           
Dimension(double width, double height)
           
Dimension(int width, int height)
           
 
Method Summary
 boolean equals(Object obj)
           
 double getHeight()
           
 Dimension getSize()
           
 double getWidth()
           
 int hashCode()
           
 void setSize(Dimension d)
           
 void setSize(double width, double height)
           
 void setSize(int width, int height)
           
 String toString()
           
 
Methods inherited from class com.itextpdf.awt.geom.Dimension2D
clone, setSize
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public double width

height

public double height
Constructor Detail

Dimension

public Dimension(Dimension d)

Dimension

public Dimension()

Dimension

public Dimension(double width,
                 double height)

Dimension

public Dimension(int width,
                 int height)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

setSize

public void setSize(int width,
                    int height)

setSize

public void setSize(Dimension d)

setSize

public void setSize(double width,
                    double height)
Specified by:
setSize in class Dimension2D

getSize

public Dimension getSize()

getHeight

public double getHeight()
Specified by:
getHeight in class Dimension2D

getWidth

public double getWidth()
Specified by:
getWidth in class Dimension2D


Copyright © 2013. All Rights Reserved.