Color of a screen pixel: Difference between revisions
Content deleted Content added
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);
|