|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.ColorTransform
pt.tumba.parser.swf.AlphaTransform
public class AlphaTransform
Description of the Class
Field Summary |
---|
Fields inherited from class pt.tumba.parser.swf.ColorTransform |
---|
addAlpha, addBlue, addGreen, addRed, multAlpha, multBlue, multGreen, multRed |
Constructor Summary | |
---|---|
AlphaTransform()
An identity transform |
|
AlphaTransform(ColorTransform copy)
Copy another transform |
|
AlphaTransform(double multRed,
double multGreen,
double multBlue,
double multAlpha)
Constructor for the AlphaTransform object |
|
AlphaTransform(double multRed,
double multGreen,
double multBlue,
double multAlpha,
int addRed,
int addGreen,
int addBlue,
int addAlpha)
Constructor for the AlphaTransform object |
|
AlphaTransform(InStream in)
Constructor for the AlphaTransform object |
|
AlphaTransform(int addRed,
int addGreen,
int addBlue,
int addAlpha)
Constructor for the AlphaTransform object |
Method Summary | |
---|---|
int |
getAddAlpha()
Gets the addAlpha attribute of the AlphaTransform object |
double |
getMultAlpha()
Gets the multAlpha attribute of the AlphaTransform object |
void |
setAddAlpha(int addAlpha)
Sets the addAlpha attribute of the AlphaTransform object |
void |
setMultAlpha(double multAlpha)
Sets the multAlpha attribute of the AlphaTransform object |
java.lang.String |
toString()
Description of the Method |
void |
write(OutStream out)
Description of the Method |
void |
writeWithoutAlpha(OutStream out)
Description of the Method |
Methods inherited from class pt.tumba.parser.swf.ColorTransform |
---|
getAddBlue, getAddGreen, getAddRed, getMultBlue, getMultGreen, getMultRed, setAddBlue, setAddGreen, setAddRed, setMultBlue, setMultGreen, setMultRed, writeWithAlpha |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AlphaTransform()
public AlphaTransform(ColorTransform copy)
copy
- Description of the Parameterpublic AlphaTransform(double multRed, double multGreen, double multBlue, double multAlpha, int addRed, int addGreen, int addBlue, int addAlpha)
multRed
- Description of the ParametermultGreen
- Description of the ParametermultBlue
- Description of the ParametermultAlpha
- Description of the ParameteraddRed
- Description of the ParameteraddGreen
- Description of the ParameteraddBlue
- Description of the ParameteraddAlpha
- Description of the Parameterpublic AlphaTransform(int addRed, int addGreen, int addBlue, int addAlpha)
addRed
- Description of the ParameteraddGreen
- Description of the ParameteraddBlue
- Description of the ParameteraddAlpha
- Description of the Parameterpublic AlphaTransform(double multRed, double multGreen, double multBlue, double multAlpha)
multRed
- Description of the ParametermultGreen
- Description of the ParametermultBlue
- Description of the ParametermultAplha
- Description of the Parameterpublic AlphaTransform(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the ExceptionMethod Detail |
---|
public double getMultAlpha()
public int getAddAlpha()
public void setMultAlpha(double multAlpha)
multAlpha
- The new multAlpha valuepublic void setAddAlpha(int addAlpha)
addAlpha
- The new addAlpha valuepublic void write(OutStream out) throws java.io.IOException
write
in class ColorTransform
out
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void writeWithoutAlpha(OutStream out) throws java.io.IOException
writeWithoutAlpha
in class ColorTransform
out
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic java.lang.String toString()
toString
in class ColorTransform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |