|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.robotics.Color
lejos.nxt.ColorSensor.Color
public static class ColorSensor.Color
Extended color class, that includes the background reading at the time that the other readings were made.
Field Summary |
---|
Fields inherited from class lejos.robotics.Color |
---|
BLACK, BLUE, CYAN, DARK_GRAY, GRAY, GREEN, LIGHT_GRAY, MAGENTA, NONE, ORANGE, PINK, RED, WHITE, YELLOW |
Constructor Summary | |
---|---|
ColorSensor.Color(int red,
int green,
int blue,
int background,
int colorId)
|
Method Summary | |
---|---|
int |
getBackground()
Return the background light level reading |
Methods inherited from class lejos.robotics.Color |
---|
getBlue, getColor, getGreen, getRed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorSensor.Color(int red, int green, int blue, int background, int colorId)
Method Detail |
---|
public int getBackground()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |