render
Class ImageBuffer

java.lang.Object
  |
  +--render.ImageBuffer

public class ImageBuffer
extends java.lang.Object


Field Summary
 int height
           
 int[] pix
           
 int width
           
 
Constructor Summary
ImageBuffer(java.awt.Image src, java.awt.Component component)
           
ImageBuffer(int[] pixels, int w, int h)
           
ImageBuffer(int width, int height)
           
 
Method Summary
 int get(int x, int y)
           
 int getHeight()
           
 int getWidth()
           
 void set(int x, int y, int rgb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pix

public int[] pix

width

public int width

height

public int height
Constructor Detail

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)
Method Detail

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)