java.lang.Objectcom.pdfjet.Dimension
public class Dimension
Encapsulates the width and height of a component.
Constructor Summary | |
---|---|
Dimension(float width,
float height)
Constructor for creating dimension objects. |
Method Summary | |
---|---|
float |
getHeight()
|
float |
getWidth()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dimension(float width, float height)
width
- the width.height
- the height.Method Detail |
---|
public float getWidth()
public float getHeight()