Saturday, January 21, 2012

JAVA: how do you get the current color of the pixel?

"this" is a reserved word in java meaning the object in which "this" is called. getColor() is a static method, so you would call Color.getColor(name) where name is the String of a color property. See the java tutorials below, specifically the sections dealing with GUIs, to learn how to determine the color of a specific pixel.

No comments:

Post a Comment