public class Thickness
extends java.lang.Object
implements java.io.Externalizable
Constructor and Description |
---|
Thickness() |
Thickness(float uniformLength) |
Thickness(float left,
float top,
float right,
float bottom) |
Thickness(Thickness prototype) |
Modifier and Type | Method and Description |
---|---|
float |
getBottom() |
float |
getLeft() |
float |
getRight() |
float |
getTop() |
void |
readExternal(java.io.ObjectInput in) |
void |
setBottom(float bottom) |
void |
setLeft(float left) |
void |
setRight(float right) |
void |
setTop(float top) |
void |
writeExternal(java.io.ObjectOutput out) |
public Thickness()
public Thickness(float uniformLength)
public Thickness(float left, float top, float right, float bottom)
public Thickness(Thickness prototype)
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public float getLeft()
public void setLeft(float left)
left
- the left to setpublic float getTop()
public void setTop(float top)
top
- the top to setpublic float getRight()
public void setRight(float right)
right
- the right to setpublic float getBottom()
public void setBottom(float bottom)
bottom
- the bottom to set