|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectie.ncl.util.bin.Bitmap
ie.ncl.sms.nbs.Bitmap
public class Bitmap
This class is used to create a bitmap that can be sent over the air to a mobile phone. It stores each pixel as a bit. A bit is set to represent a black pixel. When constructed from int[] pixels, each pixel which is non-zero is treated as white.
Constructor Summary | |
---|---|
Bitmap(int[] pixels,
int width,
int height)
|
|
Bitmap(int[] pixels,
int width,
int height,
int cutoffBrightness)
|
Method Summary |
---|
Methods inherited from class ie.ncl.util.bin.Bitmap |
---|
getArea, getBytes, getDepth, getHeight, getPixels, getPixels, getSquare, getThreshold, getWidth, main, setDepth, setHeight, setPixels, setThreshold, setWidth, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Bitmap(int[] pixels, int width, int height)
public Bitmap(int[] pixels, int width, int height, int cutoffBrightness)
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |