public static class Insets2D.Double extends Insets2D
Double
class defines insets specified in
double
precision.Insets2D.Double, Insets2D.Float
Modifier and Type | Field and Description |
---|---|
double |
bottom |
double |
left |
double |
right |
double |
top |
Constructor and Description |
---|
Double()
Constructs and initializes an
Insets2D with
all insets set to 0. |
Double(double top,
double left,
double bottom,
double right)
Constructs and initializes an
Insets2D with the
specified insets. |
Modifier and Type | Method and Description |
---|---|
double |
getBottom()
Returns the bottom insets in double precision.
|
double |
getLeft()
Returns the left insets in double precision.
|
double |
getRight()
Returns the right insets in double precision.
|
double |
getTop()
Returns the top insets 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()
Insets2D
with
all insets set to 0.public Double(double top, double left, double bottom, double right)
Insets2D
with the
specified insets.top
- The top insets.left
- The left insets.bottom
- The bottom insets.right
- The right insets.public double getTop()
Insets2D
public double getLeft()
Insets2D
public double getBottom()
Insets2D
public double getRight()
Insets2D