|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Long-based image representation.
| Method Summary | |
long |
getPixel(int x,
int y)
Get a pixel. |
void |
getRectangle(int x,
int y,
int width,
int height,
long[] buffer,
int offset,
int scansize)
Get a rectangular area of pixel data. |
void |
getRow(int y,
long[] buffer,
int offset)
Get a row of pixel data. |
void |
setPixel(int x,
int y,
long value)
Set a pixel. |
void |
setRectangle(int x,
int y,
int width,
int height,
long[] pixels,
int offset,
int scansize)
Set a rectangular area of pixel data. |
void |
setRow(int y,
long[] pixels,
int offset)
Set a row of pixel data. |
| Method Detail |
public void setRectangle(int x,
int y,
int width,
int height,
long[] pixels,
int offset,
int scansize)
throws ImageAccessException
x - x-coordinatey - y-coordinatewidth - rectangle widthheight - rectangle heightpixels - pixel dataoffset - offset in pixels to start atscansize - length from the start of one row to the start of the next
public void setRow(int y,
long[] pixels,
int offset)
throws ImageAccessException
y - y-coordinatepixels - pixel dataoffset - offset in pixels to start at
public void setPixel(int x,
int y,
long value)
throws ImageAccessException
x - x-coordinatey - y-coordinatevalue - pixel value
public void getRectangle(int x,
int y,
int width,
int height,
long[] buffer,
int offset,
int scansize)
throws ImageAccessException
x - x-coordinatey - y-coordinatewidth - rectangle widthheight - rectangle heightbuffer - buffer to copy pixel data intooffset - offset in buffer to start copying toscansize - length from the start of one row to the start of the next in buffer
public void getRow(int y,
long[] buffer,
int offset)
throws ImageAccessException
y - y-coordinatebuffer - buffer to copy pixel data intooffset - offset in buffer to start copying to
public long getPixel(int x,
int y)
throws ImageAccessException
x - x-coordinatey - y-coordinate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||