|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.zxing.LuminanceSource
com.google.zxing.client.j2me.LCDUIImageLuminanceSource
public final class LCDUIImageLuminanceSource
A LuminanceSource based on Java ME's Image class. It does not support cropping or rotation.
| Constructor Summary | |
|---|---|
LCDUIImageLuminanceSource(javax.microedition.lcdui.Image image)
|
|
| Method Summary | |
|---|---|
byte[] |
getMatrix()
Fetches luminance data for the underlying bitmap. |
byte[] |
getRow(int y,
byte[] row)
Fetches one row of luminance data from the underlying platform's bitmap. |
| Methods inherited from class com.google.zxing.LuminanceSource |
|---|
crop, getHeight, getWidth, isCropSupported, isRotateSupported, rotateCounterClockwise |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LCDUIImageLuminanceSource(javax.microedition.lcdui.Image image)
| Method Detail |
|---|
public byte[] getRow(int y,
byte[] row)
LuminanceSource
getRow in class LuminanceSourcey - The row to fetch, 0 <= y < getHeight().row - An optional preallocated array. If null or too small, it will be ignored.
Always use the returned object, and ignore the .length of the array.
public byte[] getMatrix()
LuminanceSource
getMatrix in class LuminanceSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||