to top
Android APIs
public class

LightingColorFilter

extends ColorFilter
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].
[Expand]
Inherited Methods
From class android.graphics.ColorFilter
From class java.lang.Object

Public Constructors

public LightingColorFilter (int mul, int add)

Added in API level 1

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.