public class FitRotationalRectangle
extends java.lang.Object
| Constructor and Description |
|---|
FitRotationalRectangle(double left,
double up,
double right,
double down,
java.awt.Color selectionColor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor()
Return the color.
|
double |
getDown()
Return the Y down value.
|
static double |
getDownBig()
Return the lower Y value.
|
double |
getLeft()
Return the X left value.
|
static double |
getLeftBig()
Return the lowest X value.
|
double |
getRight()
Return the X right value.
|
static double |
getRightBig()
Return the biggest X value.
|
double |
getUp()
Return the Y up value.
|
static double |
getUpBig()
Return the biggest Y value.
|
static void |
reset()
Reset the lowest/biggest X/Y values.
|
static void |
setDownBig(double downBig)
Change the lowest Y value.
|
static void |
setLeftBig(double leftBig)
Change the lowest X value.
|
static void |
setRightBig(double rightBig)
Change the biggest X value.
|
static void |
setUpBig(double upBig)
Change the biggest Y value.
|
public FitRotationalRectangle(double left,
double up,
double right,
double down,
java.awt.Color selectionColor)
left - The X left value.up - The Y up value.right - The X right value.down - The Y down value.selectionColor - The color.public final double getDown()
public final double getLeft()
public final double getRight()
public final double getUp()
public final java.awt.Color getColor()
public static double getDownBig()
public static double getLeftBig()
public static double getRightBig()
public static double getUpBig()
public static void setDownBig(double downBig)
downBig - the new lowest Y value.public static void setLeftBig(double leftBig)
leftBig - the new lowest X value.public static void setRightBig(double rightBig)
rightBig - the new biggest X value.public static void setUpBig(double upBig)
upBig - The new biggest Y value.public static void reset()