com.mindfusion.diagramming
Class Thickness
java.lang.Object
com.mindfusion.diagramming.Thickness
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class Thickness
- extends java.lang.Object
- implements java.io.Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Thickness
public Thickness()
Thickness
public Thickness(float uniformLength)
Thickness
public Thickness(float left,
float top,
float right,
float bottom)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
getLeft
public float getLeft()
- Returns:
- the left
setLeft
public void setLeft(float left)
- Parameters:
left
- the left to set
getTop
public float getTop()
- Returns:
- the top
setTop
public void setTop(float top)
- Parameters:
top
- the top to set
getRight
public float getRight()
- Returns:
- the right
setRight
public void setRight(float right)
- Parameters:
right
- the right to set
getBottom
public float getBottom()
- Returns:
- the bottom
setBottom
public void setBottom(float bottom)
- Parameters:
bottom
- the bottom to set