com.jeffpalm.image
Class BitmapImage
java.lang.Object
com.jeffpalm.image.BitmapImage
public final class BitmapImage
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BitmapImage
public BitmapImage(int width,
int height)
setBackground
public void setBackground(java.awt.Color background)
width
public int width()
height
public int height()
addPoint
public BitmapImage.Point addPoint(int x,
int y,
java.awt.Color c)
fillBox
public void fillBox(int x0,
int y0,
int x1,
int y1,
java.awt.Color c)
body
public int[] body()
write
public void write(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception