Package lejos.robotics
Interface ColorDetector
-
- All Superinterfaces:
ColorIdentifier
- All Known Implementing Classes:
ColorAdapter
public interface ColorDetector extends ColorIdentifier
This interface defines the methods of a generic ColorDetector object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColorgetColor()Return the Red, Green and Blue values together in one object.-
Methods inherited from interface lejos.robotics.ColorIdentifier
getColorID
-
-
-
-
Method Detail
-
getColor
Color getColor()
Return the Red, Green and Blue values together in one object.- Returns:
- Color object containing the three RGB component values between 0-255.
-
-