Package com.evopdf
Class SizeFloat
java.lang.Object
com.evopdf.SizeFloat
Represents a size object with floating point width and height
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSizeFloat
(float width, float height) Constructs a size object with the given width and height -
Method Summary
-
Field Details
-
EMPTY
The null size
-
-
Constructor Details
-
SizeFloat
public SizeFloat(float width, float height) Constructs a size object with the given width and height- Parameters:
width
- the widthheight
- the height
-
-
Method Details
-
width
public float width()Gets the width- Returns:
- the width
-
setWidth
public void setWidth(float width) Sets the width- Parameters:
width
- the width to set
-
height
public float height()Gets the height- Returns:
- the height
-
setHeight
public void setHeight(float height) Sets the height- Parameters:
height
- the height to set
-