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 TypeFieldDescriptiondoubleprivate static final longdouble -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class 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
-
equals
-
toString
-
setSize
public void setSize(int width, int height) -
setSize
-
setSize
public void setSize(double width, double height) - Specified by:
setSizein classDimension2D
-
getSize
-
getHeight
public double getHeight()- Specified by:
getHeightin classDimension2D
-
getWidth
public double getWidth()- Specified by:
getWidthin classDimension2D
-