|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sunflow.image.Bitmap
org.sunflow.image.formats.BitmapG8
public class BitmapG8
| Field Summary |
|---|
| Fields inherited from class org.sunflow.image.Bitmap |
|---|
INV255, INV65535 |
| Constructor Summary | |
|---|---|
BitmapG8(int w,
int h,
byte[] data)
|
|
| Method Summary | |
|---|---|
int |
getHeight()
|
int |
getWidth()
|
float |
readAlpha(int x,
int y)
|
Color |
readColor(int x,
int y)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BitmapG8(int w,
int h,
byte[] data)
| Method Detail |
|---|
public int getWidth()
getWidth in class Bitmappublic int getHeight()
getHeight in class Bitmap
public Color readColor(int x,
int y)
readColor in class Bitmap
public float readAlpha(int x,
int y)
readAlpha in class Bitmap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||