public class Thickness
extends java.lang.Object
implements java.io.Externalizable
| Constructor and Description |
|---|
Thickness()
Initializes a new instance of the Thickness class.
|
Thickness(float uniformLength)
Initializes a new instance of the Thickness class.
|
Thickness(float left,
float top,
float right,
float bottom)
Initializes a new instance of the Thickness class.
|
Thickness(Thickness prototype)
Initializes a new instance of the Thickness class.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getBottom()
Gets the width of the bottom side of the frame.
|
float |
getLeft()
Gets the width of the left side of the frame.
|
float |
getRight()
Gets the width of the right side of the frame.
|
float |
getTop()
Gets the width of the top side of the frame.
|
void |
readExternal(java.io.ObjectInput in)
Implements Externalizable.
|
void |
setBottom(float value)
Sets the width of the bottom side of the frame.
|
void |
setLeft(float value)
Sets the width of the left side of the frame.
|
void |
setRight(float value)
Sets the width of the right side of the frame.
|
void |
setTop(float value)
Sets the width of the top side of the frame.
|
void |
writeExternal(java.io.ObjectOutput out)
Implements Externalizable.
|
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.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic float getLeft()
public void setLeft(float value)
value - A floating point value.public float getTop()
public void setTop(float value)
value - A floating point value.public float getRight()
public void setRight(float value)
value - A floating point value.public float getBottom()
public void setBottom(float value)
value - A floating point value.