Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.structs
Class AlphaTransform  view AlphaTransform download AlphaTransform.java

java.lang.Object
  extended bycom.anotherbigidea.flash.structs.ColorTransform
      extended bycom.anotherbigidea.flash.structs.AlphaTransform

public class AlphaTransform
extends ColorTransform


Field Summary
 
Fields inherited from class com.anotherbigidea.flash.structs.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 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)
           
 
Method Summary
 int getAddAlpha()
           
 double getMultAlpha()
           
 void setAddAlpha(int addAlpha)
           
 void setMultAlpha(double multAlpha)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 void write(com.anotherbigidea.io.OutStream out)
           
 void writeWithoutAlpha(com.anotherbigidea.io.OutStream out)
           
 
Methods inherited from class com.anotherbigidea.flash.structs.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

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
Method Detail

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