Modifier and Type | Field and Description |
---|---|
double |
bottom |
double |
left |
double |
right |
double |
top |
Constructor and Description |
---|
Insets2D(double top,
double left,
double bottom,
double right)
Creates and initializes a new
Insets object with the specified top, left, bottom, and right insets. |
Modifier and Type | Method and Description |
---|---|
Insets2D |
clone() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
set(double top,
double left,
double bottom,
double right)
Set top, left, bottom, and right to the specified values
|
String |
toString() |
public double top
public double left
public double bottom
public double right
public Insets2D(double top, double left, double bottom, double right)
Insets
object with the specified top, left, bottom, and right insets.top
- the inset from the top.left
- the inset from the left.bottom
- the inset from the bottom.right
- the inset from the right.