public class Size
extends java.lang.Object
Size
defined as a PDF size type.Constructor and Description |
---|
Size()
Create a new
Size instance. |
Size(int width,
int height)
Create a new
Size instance with specified width and height. |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Get the height of size.
|
int |
getWidth()
Get the width of size.
|
void |
setHeight(int height)
Set the height of size.
|
void |
setWidth(int width)
Set the width of size.
|
public Size()
Size
instance.public Size(int width, int height)
Size
instance with specified width and height.public int getWidth()
public void setWidth(int width)
width
- The specified width for the size.public int getHeight()
public void setHeight(int height)
height
- The specified height for the size.