java.lang.Object
com.anotherbigidea.flash.structs.ColorTransform
com.anotherbigidea.flash.structs.AlphaTransform
- public class AlphaTransform
- extends ColorTransform
|
Constructor Summary |
AlphaTransform()
An identity transform |
AlphaTransform(ColorTransform copy)
Copy another transform |
AlphaTransform(double multRed,
double multGreen,
double multBlue,
double multAplha)
|
AlphaTransform(double multRed,
double multGreen,
double multBlue,
double multAlpha,
int addRed,
int addGreen,
int addBlue,
int addAlpha)
|
AlphaTransform(com.anotherbigidea.io.InStream in)
|
AlphaTransform(int addRed,
int addGreen,
int addBlue,
int addAlpha)
|
| Methods inherited from class com.anotherbigidea.flash.structs.ColorTransform |
getAddBlue, getAddGreen, getAddRed, getMultBlue, getMultGreen, getMultRed, setAddBlue, setAddGreen, setAddRed, setMultBlue, setMultGreen, setMultRed, writeWithAlpha |
AlphaTransform
public AlphaTransform()
- An identity transform
AlphaTransform
public AlphaTransform(ColorTransform copy)
- Copy another transform
AlphaTransform
public AlphaTransform(double multRed,
double multGreen,
double multBlue,
double multAlpha,
int addRed,
int addGreen,
int addBlue,
int addAlpha)
AlphaTransform
public AlphaTransform(int addRed,
int addGreen,
int addBlue,
int addAlpha)
AlphaTransform
public AlphaTransform(double multRed,
double multGreen,
double multBlue,
double multAplha)
AlphaTransform
public AlphaTransform(com.anotherbigidea.io.InStream in)
throws java.io.IOException
getMultAlpha
public double getMultAlpha()
getAddAlpha
public int getAddAlpha()
setMultAlpha
public void setMultAlpha(double multAlpha)
setAddAlpha
public void setAddAlpha(int addAlpha)
write
public void write(com.anotherbigidea.io.OutStream out)
throws java.io.IOException
- Overrides:
write in class ColorTransform
writeWithoutAlpha
public void writeWithoutAlpha(com.anotherbigidea.io.OutStream out)
throws java.io.IOException
- Overrides:
writeWithoutAlpha in class ColorTransform
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
- Overrides:
toString in class ColorTransform