English | Site Directory

Android - An Open Handset Alliance Project

android.graphics
public class

android.graphics.LightingColorFilter

java.lang.Object
android.graphics.ColorFilter
android.graphics.LightingColorFilter

Summary

Public Constructors

          LightingColorFilter(int mul, int add)
Create a colorfilter that multiplies the RGB channels by one color, and then adds a second color, pinning the result for each component to [[]0..255].
Methods inherited from class android.graphics.ColorFilter
Methods inherited from class java.lang.Object

Details

Public Constructors

public LightingColorFilter(int mul, int add)

Create a colorfilter that multiplies the RGB channels by one color, and then adds a second color, pinning the result for each component to [0..255]. The alpha components of the mul and add arguments are ignored.
Build m5-rc15g - 14 May 2008 12:50