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