class Image.ByteAccess extends Image.BaseAccessor<java.nio.ByteBuffer>
offsetElems, pixelElems, scanlineElems, theBuffer, theFormat, theGetter, theSetter| Constructor and Description |
|---|
ByteAccess(PixelFormat<java.nio.ByteBuffer> fmt,
java.nio.ByteBuffer buffer,
int numbytes) |
ByteAccess(PixelFormat<java.nio.ByteBuffer> fmt,
PixelGetter<java.nio.ByteBuffer> getter,
PixelSetter<java.nio.ByteBuffer> setter,
java.nio.ByteBuffer buffer,
int numbytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] dstarr,
int dstoff,
int dstScanlineBytes) |
void |
getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] dstarr,
int dstoff,
int dstScanlineInts) |
void |
setPixels(int x,
int y,
int w,
int h,
PixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] srcarr,
int srcoff,
int srcScanlineBytes) |
void |
setPixels(int x,
int y,
int w,
int h,
PixelFormat<java.nio.IntBuffer> pixelformat,
int[] srcarr,
int srcoff,
int srcScanlineInts) |
void |
setPixels(int dstx,
int dsty,
int w,
int h,
PixelReader reader,
int srcx,
int srcy) |
getArgb, getBuffer, getGetter, getIndex, getPixels, getPlatformPixelFormat, getSetter, isWritable, promoteToWritableImage, setArgb, setPixelsByteAccess(PixelFormat<java.nio.ByteBuffer> fmt, PixelGetter<java.nio.ByteBuffer> getter, PixelSetter<java.nio.ByteBuffer> setter, java.nio.ByteBuffer buffer, int numbytes)
ByteAccess(PixelFormat<java.nio.ByteBuffer> fmt, java.nio.ByteBuffer buffer, int numbytes)
public void getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] dstarr,
int dstoff,
int dstScanlineBytes)
getPixels in class Image.Accessor<java.nio.ByteBuffer>public void getPixels(int x,
int y,
int w,
int h,
WritablePixelFormat<java.nio.IntBuffer> pixelformat,
int[] dstarr,
int dstoff,
int dstScanlineInts)
getPixels in class Image.Accessor<java.nio.ByteBuffer>public void setPixels(int x,
int y,
int w,
int h,
PixelFormat<java.nio.ByteBuffer> pixelformat,
byte[] srcarr,
int srcoff,
int srcScanlineBytes)
setPixels in class Image.Accessor<java.nio.ByteBuffer>public void setPixels(int x,
int y,
int w,
int h,
PixelFormat<java.nio.IntBuffer> pixelformat,
int[] srcarr,
int srcoff,
int srcScanlineInts)
setPixels in class Image.Accessor<java.nio.ByteBuffer>public void setPixels(int dstx,
int dsty,
int w,
int h,
PixelReader reader,
int srcx,
int srcy)
setPixels in class Image.Accessor<java.nio.ByteBuffer>