Android
android.graphics
public class

android.graphics.ColorMatrixColorFilter

java.lang.Object
android.graphics.ColorFilter
android.graphics.ColorMatrixColorFilter

Summary

Public Constructors

            ColorMatrixColorFilter(ColorMatrix matrix)
Create a colorfilter that transforms colors through a 4x5 color matrix.
            ColorMatrixColorFilter(float[] array)
Create a colorfilter that transforms colors through a 4x5 color matrix.
Methods inherited from class android.graphics.ColorFilter
Methods inherited from class java.lang.Object

Details

Public Constructors

public ColorMatrixColorFilter(ColorMatrix matrix)

Create a colorfilter that transforms colors through a 4x5 color matrix.

Parameters

matrix 4x5 matrix used to transform colors. It is copied into the filter, so changes made to the matrix after the filter is constructed will not be reflected in the filter.

public ColorMatrixColorFilter(float[] array)

Create a colorfilter that transforms colors through a 4x5 color matrix.

Parameters

array array of floats used to transform colors, treated as a 4x5 matrix. The first 20 entries of the array are copied into the filter. See ColorMatrix.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48