public class Thickness
extends java.lang.Object
Constructor and Description |
---|
Thickness(double uniformLength)
Initializes a new instance of the
Thickness class. |
Thickness(double left,
double top,
double right,
double bottom)
Initializes a new instance of the
Thickness class. |
Modifier and Type | Method and Description |
---|---|
double |
getBottom()
Gets the width of the bottom side of the frame.
|
double |
getHeight()
Returns the sum of Top and Bottom margins.
|
double |
getLeft()
Gets the width of the left side of the frame.
|
double |
getRight()
Gets the width of the right side of the frame.
|
double |
getTop()
Gets the width of the top side of the frame.
|
double |
getWidth()
Returns the sum of Left and Right margins.
|
void |
setBottom(double value)
Sets the width of the bottom side of the frame.
|
void |
setLeft(double value)
Sets the width of the left side of the frame.
|
void |
setRight(double value)
Sets the width of the right side of the frame.
|
void |
setTop(double value)
Sets the width of the top side of the frame.
|
public Thickness(double uniformLength)
Thickness
class.public Thickness(double left, double top, double right, double bottom)
Thickness
class.public double getLeft()
public void setLeft(double value)
public double getTop()
public void setTop(double value)
public double getRight()
public void setRight(double value)
public double getBottom()
public void setBottom(double value)
public double getWidth()
public double getHeight()