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