public static class LightColorProx.Color
extends java.lang.Object
Reading.value for Wunderbar's LightProximityColor sensor.| Constructor and Description |
|---|
Color(int red,
int green,
int blue) |
| Modifier and Type | Method and Description |
|---|---|
int |
toRgb() |
public int toRgb()
<p>
int rgb = color.toRgb();
Bitmap image = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
image.eraseColor(c);
</p>