y.view
Class OrthogonalMoveBendsMode.MinMax
java.lang.Object
y.view.OrthogonalMoveBendsMode.MinMax
- Enclosing class:
- OrthogonalMoveBendsMode
public static class OrthogonalMoveBendsMode.MinMax
- extends Object
Utility class that holds a valid coordinate range and properly crops coordinates.
-
-
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrthogonalMoveBendsMode.MinMax
public OrthogonalMoveBendsMode.MinMax()
OrthogonalMoveBendsMode.MinMax
public OrthogonalMoveBendsMode.MinMax(double minX,
double maxX,
double minY,
double maxY)
getMinX
public double getMinX()
setMinX
public void setMinX(double minX)
getMaxX
public double getMaxX()
setMaxX
public void setMaxX(double maxX)
getMinY
public double getMinY()
setMinY
public void setMinY(double minY)
getMaxY
public double getMaxY()
setMaxY
public void setMaxY(double maxY)
adjust
public void adjust(Point2D point)
- Adjusts the given point so that it satisfies the minimal and maximal coordinate ranges.
setY
public void setY(double y)
setX
public void setX(double x)