android.graphics
Class ColorMatrix

java.lang.Object
  extended by android.graphics.ColorMatrix

public class ColorMatrix
extends Object


Constructor Summary
ColorMatrix()
           
ColorMatrix(ColorMatrix src)
           
ColorMatrix(float[] src)
           
 
Method Summary
 float[] getArray()
           
 void postConcat(ColorMatrix postmatrix)
           
 void preConcat(ColorMatrix prematrix)
           
 void reset()
           
 void set(ColorMatrix src)
           
 void set(float[] src)
           
 void setConcat(ColorMatrix matA, ColorMatrix matB)
           
 void setRGB2YUV()
           
 void setRotate(int axis, float degrees)
           
 void setSaturation(float sat)
           
 void setScale(float rScale, float gScale, float bScale, float aScale)
           
 void setYUV2RGB()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorMatrix

public ColorMatrix()

ColorMatrix

public ColorMatrix(float[] src)

ColorMatrix

public ColorMatrix(ColorMatrix src)
Method Detail

getArray

public final float[] getArray()

reset

public void reset()

set

public void set(ColorMatrix src)

set

public void set(float[] src)

setScale

public void setScale(float rScale,
                     float gScale,
                     float bScale,
                     float aScale)

setRotate

public void setRotate(int axis,
                      float degrees)

setConcat

public void setConcat(ColorMatrix matA,
                      ColorMatrix matB)

preConcat

public void preConcat(ColorMatrix prematrix)

postConcat

public void postConcat(ColorMatrix postmatrix)

setSaturation

public void setSaturation(float sat)

setRGB2YUV

public void setRGB2YUV()

setYUV2RGB

public void setYUV2RGB()


Copyright © 2008-2012. All Rights Reserved.