com.mebigfatguy.pixelle
Class PixelleImage
java.lang.Object
com.mebigfatguy.pixelle.PixelleImage
public class PixelleImage
- extends java.lang.Object
a representation of an image to manipulate. Encapsulates two BufferedImages, one
to represent the real image, and the second to represent selection.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PixelleImage
public PixelleImage()
PixelleImage
public PixelleImage(java.awt.image.BufferedImage img)
getSaveImage
public java.awt.image.BufferedImage getSaveImage()
getType
public int getType()
getWidth
public final int getWidth()
getHeight
public final int getHeight()
getBuffer
public java.awt.image.DataBuffer getBuffer()
draw
public void draw(java.awt.Graphics g,
int left,
int top,
int width,
int height)
getSelectionByte
public int getSelectionByte(int xByteOffset,
int y)
setSelectionByte
public void setSelectionByte(int xByteOffset,
int y,
int byteValue)
Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.