Package com.evopdf
Class PointFloat
java.lang.Object
com.evopdf.PointFloat
Represents a point with floating point coordinates
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY
-
-
Constructor Details
-
PointFloat
public PointFloat(float x, float y) Constructs a point with the given coordinates- Parameters:
x
- the point X coordinatey
- the point Y coordinate
-
-
Method Details
-
x
public float x()Gets the point X coordinate- Returns:
- the point X coordinate
-
setX
public void setX(float x) Sets the point X coordinate- Parameters:
x
- the point X coordinate to set
-
y
public float y()Gets the point Y coordinate- Returns:
- the point Y coordinate
-
setY
public void setY(float y) Sets the the point Y coordinate- Parameters:
y
- the the point Y coordinate to set
-