public class NormalizedRGBA
extends java.lang.Object
NormalizedRGBA
instances represent a set of normalized color values.NormalizedColorSensor
Modifier and Type | Field and Description |
---|---|
float |
alpha
normalized alpha value, in range [0,1)
|
float |
blue
normalized blue value, in range [0,1)
|
float |
green
normalized green value, in range [0,1)
|
float |
red
normalized red value, in range [0,1)
|
Constructor and Description |
---|
NormalizedRGBA() |
Modifier and Type | Method and Description |
---|---|
int |
toColor()
Converts the normalized colors into an Android color integer
|