render
Class ImageBuffer
java.lang.Object
|
+--render.ImageBuffer
- public class ImageBuffer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pix
public int[] pix
width
public int width
height
public int height
ImageBuffer
public ImageBuffer(int width,
int height)
ImageBuffer
public ImageBuffer(int[] pixels,
int w,
int h)
ImageBuffer
public ImageBuffer(java.awt.Image src,
java.awt.Component component)
getWidth
public int getWidth()
getHeight
public int getHeight()
get
public int get(int x,
int y)
set
public void set(int x,
int y,
int rgb)