static class ByteRgb.Getter extends java.lang.Object implements BytePixelGetter
Modifier and Type | Field and Description |
---|---|
(package private) static BytePixelGetter |
instance |
Modifier | Constructor and Description |
---|---|
private |
Getter() |
Modifier and Type | Method and Description |
---|---|
AlphaType |
getAlphaType() |
int |
getArgb(byte[] arr,
int offset) |
int |
getArgb(java.nio.ByteBuffer buffer,
int offset) |
int |
getArgbPre(byte[] arr,
int offset) |
int |
getArgbPre(java.nio.ByteBuffer buffer,
int offset) |
int |
getNumElements() |
static final BytePixelGetter instance
public AlphaType getAlphaType()
getAlphaType
in interface PixelGetter<java.nio.ByteBuffer>
public int getNumElements()
getNumElements
in interface PixelGetter<java.nio.ByteBuffer>
public int getArgb(byte[] arr, int offset)
getArgb
in interface BytePixelGetter
public int getArgbPre(byte[] arr, int offset)
getArgbPre
in interface BytePixelGetter
public int getArgb(java.nio.ByteBuffer buffer, int offset)
getArgb
in interface PixelGetter<java.nio.ByteBuffer>
public int getArgbPre(java.nio.ByteBuffer buffer, int offset)
getArgbPre
in interface PixelGetter<java.nio.ByteBuffer>