Package com.itextpdf.awt.geom
Class Dimension
- java.lang.Object
-
- com.itextpdf.awt.geom.Dimension2D
-
- com.itextpdf.awt.geom.Dimension
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Dimension extends Dimension2D implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)doublegetHeight()DimensiongetSize()doublegetWidth()inthashCode()voidsetSize(double width, double height)voidsetSize(int width, int height)voidsetSize(Dimension d)StringtoString()-
Methods inherited from class com.itextpdf.awt.geom.Dimension2D
clone, setSize
-
-
-
-
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
-
setSize
public void setSize(int width, int height)
-
setSize
public void setSize(Dimension d)
-
setSize
public void setSize(double width, double height)- Specified by:
setSizein classDimension2D
-
getSize
public Dimension getSize()
-
getHeight
public double getHeight()
- Specified by:
getHeightin classDimension2D
-
getWidth
public double getWidth()
- Specified by:
getWidthin classDimension2D
-
-