public static class ProjectionRect.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ProjectionRect.Builder |
add(double newx,
double newy)
Extend the rectangle by the given point.
|
ProjectionRect.Builder |
add(ProjectionPoint pt)
Extend the rectangle by the given point.
|
ProjectionRect.Builder |
add(ProjectionRect r)
Extend the rectangle by the given rectangle.
|
ProjectionRect |
build() |
double |
getHeight() |
double |
getWidth() |
ProjectionRect.Builder |
setHeight(double height) |
ProjectionRect.Builder |
setRect(double x,
double y,
double w,
double h) |
ProjectionRect.Builder |
setRect(ProjectionRect r) |
ProjectionRect.Builder |
setWidth(double width) |
ProjectionRect.Builder |
setX(double x) |
ProjectionRect.Builder |
setY(double y) |
public double getWidth()
public double getHeight()
public ProjectionRect.Builder setX(double x)
public ProjectionRect.Builder setY(double y)
public ProjectionRect.Builder setWidth(double width)
public ProjectionRect.Builder setHeight(double height)
public ProjectionRect.Builder setRect(double x, double y, double w, double h)
public ProjectionRect.Builder setRect(ProjectionRect r)
public ProjectionRect.Builder add(ProjectionRect r)
public ProjectionRect.Builder add(double newx, double newy)
public ProjectionRect.Builder add(ProjectionPoint pt)
public ProjectionRect build()