|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EVolve.visualization.AutoImage
Automatic expanding image.
Constructor Summary | |
AutoImage()
Creates an auto-image. |
Method Summary | |
java.awt.Color |
getColor(int x,
int y)
Gets the color of a pixel. |
int |
getDimension(int dim)
|
int |
getH()
|
java.awt.image.BufferedImage |
getImage()
Gets the buffered-image. |
java.awt.Color |
getSortedColor(ReferenceDimension xAxis,
ReferenceDimension yAxis,
int x,
int y)
|
AutoImage |
getSortedImage(ReferenceDimension xAxis,
ReferenceDimension yAxis)
Sorts the image. |
int |
getW()
|
void |
setColor(int x,
int y,
java.awt.Color color)
Sets the color of a pixel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AutoImage()
Method Detail |
public void setColor(int x, int y, java.awt.Color color)
x
- position on X-axisy
- position on Y-axiscolor
- the colorpublic java.awt.Color getColor(int x, int y)
x
- position on X-axisy
- position on Y-axis
public java.awt.Color getSortedColor(ReferenceDimension xAxis, ReferenceDimension yAxis, int x, int y)
public java.awt.image.BufferedImage getImage()
public AutoImage getSortedImage(ReferenceDimension xAxis, ReferenceDimension yAxis)
xAxis
- dimension that represents the X-axis, null if doesn't need to be sortedyAxis
- dimension that represents the Y-axis, null if doesn't need to be sorted
public int getDimension(int dim)
public int getW()
public int getH()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |