public class RadThickness extends Object
Modifier and Type | Field and Description |
---|---|
double |
bottom
Holds the value for the bottom side of the thickness object.
|
double |
left
Holds the value for the left side of the thickness object.
|
double |
right
Holds the value for the right side of the thickness object.
|
double |
top
Holds the value for the top side of the thickness object.
|
Constructor and Description |
---|
RadThickness() |
RadThickness(double left,
double top,
double right,
double bottom)
Creates a new instance of the
RadThickness class with specified values
for left, top, right and bottom. |
Modifier and Type | Method and Description |
---|---|
RadThickness |
clone() |
boolean |
equals(Object o) |
static RadThickness |
getEmpty()
Gets an instance of
RadThickness with all parameters initialised to 0.0. |
public double left
public double top
public double right
public double bottom
public RadThickness()
public RadThickness(double left, double top, double right, double bottom)
RadThickness
class with specified values
for left, top, right and bottom.left
- the value for the left side.top
- the value for the top side.right
- the value for the right side.bottom
- the value for the bottom side.public static RadThickness getEmpty()
RadThickness
with all parameters initialised to 0.0.RadThickness
.public RadThickness clone()