|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gatech.cs2335.lemmings.graphics.ImageUtilities
Class ImageUtilities: contains certain utility functions that can be useful for various image manipulating classes.
Revision History:
v1.0 (Mar. 12, 2004) - Created the ImageUtilities class
| Method Summary | |
java.awt.Cursor |
createBlankCursor()
Creates an invisible cursor. |
static ImageUtilities |
getInstance()
Singleton Implementation. |
java.awt.Color |
getPixel(java.awt.image.BufferedImage image,
int x,
int y)
Returns the color of the pixel at the specified coordinates of the image. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ImageUtilities getInstance()
ImageUtilities value
public java.awt.Color getPixel(java.awt.image.BufferedImage image,
int x,
int y)
image - a BufferedImage valuex - an int valuey - an int value
Color valuepublic java.awt.Cursor createBlankCursor()
Cursor value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||