|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.Rect
public class Rect
A SWF Rectangle structure
| Field Summary | |
|---|---|
protected int |
bitSize
Description of the Field |
protected int |
maxX
Description of the Field |
protected int |
maxY
Description of the Field |
protected int |
minX
Description of the Field |
protected int |
minY
Description of the Field |
| Constructor Summary | |
|---|---|
Rect()
Constructor for the Rect object |
|
Rect(InStream in)
Constructor for the Rect object |
|
Rect(int minX,
int minY,
int maxX,
int maxY)
Constructor for the Rect object |
|
| Method Summary | |
|---|---|
protected int |
getBitSize()
Calculate the minimum bit size based on the current values |
long |
getLength()
Gets the length attribute of the Rect object |
int |
getMaxX()
Gets the maxX attribute of the Rect object |
int |
getMaxY()
Gets the maxY attribute of the Rect object |
int |
getMinX()
Gets the minX attribute of the Rect object |
int |
getMinY()
Gets the minY attribute of the Rect object |
void |
setMaxX(int maxX)
Sets the maxX attribute of the Rect object |
void |
setMaxY(int maxY)
Sets the maxY attribute of the Rect object |
void |
setMinX(int minX)
Sets the minX attribute of the Rect object |
void |
setMinY(int minY)
Sets the minY attribute of the Rect object |
java.lang.String |
toString()
Description of the Method |
void |
write(OutStream out)
Write the rect contents to the output stream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int bitSize
protected int minX
protected int minY
protected int maxX
protected int maxY
| Constructor Detail |
|---|
public Rect(int minX,
int minY,
int maxX,
int maxY)
minX - Description of the ParameterminY - Description of the ParametermaxX - Description of the ParametermaxY - Description of the Parameter
public Rect(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exceptionpublic Rect()
| Method Detail |
|---|
public int getMinX()
public int getMinY()
public int getMaxX()
public int getMaxY()
public void setMinX(int minX)
minX - The new minX valuepublic void setMinY(int minY)
minY - The new minY valuepublic void setMaxX(int maxX)
maxX - The new maxX valuepublic void setMaxY(int maxY)
maxY - The new maxY valueprotected int getBitSize()
public long getLength()
public void write(OutStream out)
throws java.io.IOException
out - Description of the Parameter
java.io.IOException - Description of the Exceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||