java.io.Serializablepublic static class Insets2D.Double extends Insets2D implements java.io.Serializable
Insets2D.Double, Insets2D.Float| Modifier and Type | Field | Description |
|---|---|---|
double |
bottom |
The inset from the bottom
|
double |
left |
The inset from the left
|
double |
right |
The inset from the right
|
double |
top |
The inset from the top
|
| Constructor | Description |
|---|---|
Double(double top,
double left,
double bottom,
double right) |
Construct an Insets2D instance using double precision
|
| Modifier and Type | Method | Description |
|---|---|---|
double |
getBottom() |
Returns the inset from the bottom in double precision
|
double |
getLeft() |
Returns the inset from the left in double precision
|
double |
getRight() |
Returns the inset from the right in double precision
|
double |
getTop() |
Returns the inset from the top in double precision
|
void |
set(double top,
double left,
double bottom,
double right) |
Sets the insets
|
public double top
public double left
public double bottom
public double right
public Double(double top,
double left,
double bottom,
double right)
top - the inset from the topleft - the inset from the leftbottom - the inset from the bottomright - the inset from the rightpublic void set(double top,
double left,
double bottom,
double right)
top - the inset from the topleft - the inset from the leftbottom - the inset from the bottomright - the inset from the rightpublic double getBottom()
public double getLeft()
public double getRight()