| Modifier and Type | Class and Description |
|---|---|
| public static class | Pixels.
The Format specifies the native byte order of the underlying chunk of image data. |
| Modifier and Type | Field and Description |
|---|---|
| protected final ByteBuffer | |
| protected final int | |
| protected final int | |
| protected final IntBuffer | |
| private final float | |
| private final float | |
| protected final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected abstract void | |
| protected abstract void | |
| public final ByteBuffer | |
| public final void | |
| private void | |
| public final boolean | equals(Object object)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public final Buffer | Returns: the original pixels buffer, unmodifiedReturns the buffer used to create this |
| public final int | |
| public final int | |
| public final int | |
| public static int | |
| public final Buffer | Returns: the original pixels buffer with its position set to zero and its mark discardedRewinds and returns the buffer used to create this |
| public final float | |
| public final float | |
| public final float | |
| public final float | |
| public final int | |
| public final int | |
| public final int |
| bytes | back to summary |
|---|---|
| protected final ByteBuffer bytes | |
| bytesPerComponent | back to summary |
|---|---|
| protected final int bytesPerComponent | |
| height | back to summary |
|---|---|
| protected final int height | |
| ints | back to summary |
|---|---|
| protected final IntBuffer ints | |
| scalex | back to summary |
|---|---|
| private final float scalex | |
| scaley | back to summary |
|---|---|
| private final float scaley | |
| width | back to summary |
|---|---|
| protected final int width | |
| Pixels | back to summary |
|---|---|
| protected Pixels(final int width, final int height, final ByteBuffer pixels) | |
| Pixels | back to summary |
|---|---|
| protected Pixels(final int width, final int height, final ByteBuffer pixels, float scalex, float scaley) | |
| Pixels | back to summary |
|---|---|
| protected Pixels(final int width, final int height, IntBuffer pixels) | |
| Pixels | back to summary |
|---|---|
| protected Pixels(final int width, final int height, IntBuffer pixels, float scalex, float scaley) | |
| _attachByte | back to summary |
|---|---|
| protected abstract void _attachByte(long ptr, int w, int h, ByteBuffer bytes, byte[] array, int offset) | |
| _attachInt | back to summary |
|---|---|
| protected abstract void _attachInt(long ptr, int w, int h, IntBuffer ints, int[] array, int offset) | |
| _fillDirectByteBuffer | back to summary |
|---|---|
| protected abstract void _fillDirectByteBuffer(ByteBuffer bb) | |
| asByteBuffer | back to summary |
|---|---|
| public final ByteBuffer asByteBuffer() | |
| asByteBuffer | back to summary |
|---|---|
| public final void asByteBuffer(ByteBuffer bb) | |
| attachData | back to summary |
|---|---|
| private void attachData(long ptr) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object object) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getBuffer | back to summary |
|---|---|
| public final Buffer getBuffer() Returns the buffer used to create this
| |
| getBytesPerComponent | back to summary |
|---|---|
| public final int getBytesPerComponent() | |
| getHeight | back to summary |
|---|---|
| public final int getHeight() | |
| getHeightUnsafe | back to summary |
|---|---|
| public final int getHeightUnsafe() | |
| getNativeFormat | back to summary |
|---|---|
| public static int getNativeFormat() | |
| getPixels | back to summary |
|---|---|
| public final Buffer getPixels() Rewinds and returns the buffer used to create this
| |
| getScaleX | back to summary |
|---|---|
| public final float getScaleX() | |
| getScaleXUnsafe | back to summary |
|---|---|
| public final float getScaleXUnsafe() | |
| getScaleY | back to summary |
|---|---|
| public final float getScaleY() | |
| getScaleYUnsafe | back to summary |
|---|---|
| public final float getScaleYUnsafe() | |
| getWidth | back to summary |
|---|---|
| public final int getWidth() | |
| getWidthUnsafe | back to summary |
|---|---|
| public final int getWidthUnsafe() | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| BYTE_ARGB | back to summary |
|---|---|
| public static final int BYTE_ARGB
| |
| BYTE_BGRA_PRE | back to summary |
|---|---|
| public static final int BYTE_BGRA_PRE
| |
| Format | back to summary |
|---|---|
| public Format() | |