| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public int | getArgb(int
X coordinate of pixel x, int Y coordinate of pixel y)Returns: the non-premultiplied pixel in integer ARGB component ordering. |
| public <T extends Buffer> void | getPixels(int x, int y, int w, int h, WritablePixelFormat<T> pixelformat, T pixels, int scanlineElems)
|
| public void | getPixels(int x, int y, int w, int h, WritablePixelFormat<ByteBuffer> pixelformat, byte[] pixels, int offset, int scanlineBytes)
|
| public void | getPixels(int x, int y, int w, int h, WritablePixelFormat<IntBuffer> pixelformat, int[] pixels, int offset, int scanlineInts)
|
| public float | Returns: the number of actual image pixels per 72DPI virtual pixelGets the scale representing how large an area a 72DPI virtual pixel covers in terms of the pixels of this image. |
| public PixelFormat | getPlatformPixelFormat()
Returns: the PixelFormat to use for the pixel data transfer methods getPixels() and setPixels(). |
| public boolean | |
| public PlatformImage | |
| public void | |
| public <T extends Buffer> void | |
| public void | setPixels(int x, int y, int w, int h, PixelFormat<ByteBuffer> pixelformat, byte[] pixels, int offset, int scanlineBytes)
|
| public void | setPixels(int x, int y, int w, int h, PixelFormat<IntBuffer> pixelformat, int[] pixels, int offset, int scanlineInts)
|
| public void |
| bufferDirty | back to summary |
|---|---|
| public void bufferDirty(Rectangle rect) | |
| getArgb | back to summary |
|---|---|
public int getArgb(int x, int y)
| |
| getPixels | back to summary |
|---|---|
| public <T extends Buffer> void getPixels(int x, int y, int w, int h, WritablePixelFormat<T> pixelformat, T pixels, int scanlineElems) | |
| getPixels | back to summary |
|---|---|
| public void getPixels(int x, int y, int w, int h, WritablePixelFormat<ByteBuffer> pixelformat, byte[] pixels, int offset, int scanlineBytes) | |
| getPixels | back to summary |
|---|---|
| public void getPixels(int x, int y, int w, int h, WritablePixelFormat<IntBuffer> pixelformat, int[] pixels, int offset, int scanlineInts) | |
| getPixelScale | back to summary |
|---|---|
| public float getPixelScale() Gets the scale representing how large an area a 72DPI virtual pixel covers in terms of the pixels of this image. A 72DPI platform image would return 1.0f. A 144DPI platform image would return 2.0f.
| |
| getPlatformPixelFormat | back to summary |
|---|---|
public PixelFormat
| |
| isWritable | back to summary |
|---|---|
| public boolean isWritable() | |
| promoteToWritableImage | back to summary |
|---|---|
| public PlatformImage promoteToWritableImage() | |
| setArgb | back to summary |
|---|---|
public void setArgb(int x, int y, int argb)
| |
| setPixels | back to summary |
|---|---|
| public <T extends Buffer> void setPixels(int x, int y, int w, int h, PixelFormat<T> pixelformat, T pixels, int scanlineBytes) | |
| setPixels | back to summary |
|---|---|
| public void setPixels(int x, int y, int w, int h, PixelFormat<ByteBuffer> pixelformat, byte[] pixels, int offset, int scanlineBytes) | |
| setPixels | back to summary |
|---|---|
| public void setPixels(int x, int y, int w, int h, PixelFormat<IntBuffer> pixelformat, int[] pixels, int offset, int scanlineInts) | |
| setPixels | back to summary |
|---|---|
| public void setPixels(int dstx, int dsty, int w, int h, PixelReader reader, int srcx, int srcy) | |