|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.Color
pt.tumba.parser.swf.AlphaColor
public class AlphaColor
A Color with an Alpha component
| Field Summary | |
|---|---|
protected int |
alpha
Description of the Field |
| Fields inherited from class pt.tumba.parser.swf.Color |
|---|
blue, green, red |
| Constructor Summary | |
|---|---|
AlphaColor(Color color,
int alpha)
Constructor for the AlphaColor object |
|
AlphaColor(InStream in)
Constructor for the AlphaColor object |
|
AlphaColor(int red,
int green,
int blue,
int alpha)
Constructor for the AlphaColor object |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object color)
Description of the Method |
int |
getAlpha()
Gets the alpha attribute of the AlphaColor object |
int |
hashCode()
|
void |
setAlpha(int alpha)
Sets the alpha attribute of the AlphaColor object |
java.lang.String |
toString()
Description of the Method |
void |
write(OutStream out)
Description of the Method |
void |
writeWithAlpha(OutStream out)
Description of the Method |
| Methods inherited from class pt.tumba.parser.swf.Color |
|---|
getBlue, getGreen, getRed, setBlue, setGreen, setRed, writeRGB |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int alpha
| Constructor Detail |
|---|
public AlphaColor(int red,
int green,
int blue,
int alpha)
red - Description of the Parametergreen - Description of the Parameterblue - Description of the Parameteralpha - Description of the Parameter
public AlphaColor(Color color,
int alpha)
color - Description of the Parameteralpha - Description of the Parameter
public AlphaColor(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception| Method Detail |
|---|
public int getAlpha()
public void setAlpha(int alpha)
alpha - The new alpha value
public void write(OutStream out)
throws java.io.IOException
write in class Colorout - Description of the Parameter
java.io.IOException - Description of the Exception
public void writeWithAlpha(OutStream out)
throws java.io.IOException
writeWithAlpha in class Colorout - Description of the Parameter
java.io.IOException - Description of the Exceptionpublic boolean equals(java.lang.Object color)
equals in class Colorcolor - Description of the Parameter
public int hashCode()
hashCode in class Colorpublic java.lang.String toString()
toString in class Color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||