Class Point
java.lang.Object
org.eclipse.birt.report.model.api.util.Point
Represents a point in application units. Can also represent a rectangle size.
In this case, the point represents the position of the bottom right corner
relative to the top left corner.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public double xThe x position or width. -
y
public double yThe y position or height.
-
-
Constructor Details
-
Point
public Point()Default constructor. -
Point
public Point(double x, double y) Constructor.- Parameters:
x
- the x position or widthy
- the y position or width
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns whether the point is empty.- Returns:
- true if the point is (0,0) or the size is empty.
-