Color of a screen pixel: Difference between revisions
Content added Content deleted
(added logo) |
(→{{header|Java}}: Indicate where Robot comes from.) |
||
Line 114:
=={{header|Java}}==
{{uses from|Robot|java.awt}}
<lang java>public static Color getColorAt(int x, int y){
return new Robot().getPixelColor(x, y);
|