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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
private static final long
double
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.itextpdf.awt.geom.Dimension2D
clone, setSize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
width
public double width -
height
public double height
-
-
Constructor Details
-
Dimension
-
Dimension
public Dimension() -
Dimension
public Dimension(double width, double height) -
Dimension
public Dimension(int width, int height)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
setSize
public void setSize(int width, int height) -
setSize
-
setSize
public void setSize(double width, double height) - Specified by:
setSize
in classDimension2D
-
getSize
-
getHeight
public double getHeight()- Specified by:
getHeight
in classDimension2D
-
getWidth
public double getWidth()- Specified by:
getWidth
in classDimension2D
-