public static class ByteIndexed.Getter extends java.lang.Object implements BytePixelGetter
| Modifier and Type | Field and Description |
|---|---|
private int[] |
nonprecolors |
private int[] |
precolors |
(package private) PixelFormat<java.nio.ByteBuffer> |
theFormat |
| Constructor and Description |
|---|
Getter(PixelFormat<java.nio.ByteBuffer> pf) |
| Modifier and Type | Method and Description |
|---|---|
AlphaType |
getAlphaType() |
int |
getArgb(byte[] arr,
int offset) |
int |
getArgb(java.nio.ByteBuffer buf,
int offset) |
int |
getArgbPre(byte[] arr,
int offset) |
int |
getArgbPre(java.nio.ByteBuffer buf,
int offset) |
(package private) int[] |
getNonPreColors() |
int |
getNumElements() |
(package private) int[] |
getPreColors() |
PixelFormat<java.nio.ByteBuffer> theFormat
private int[] precolors
private int[] nonprecolors
Getter(PixelFormat<java.nio.ByteBuffer> pf)
int[] getPreColors()
int[] getNonPreColors()
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 BytePixelGetterpublic int getArgbPre(byte[] arr,
int offset)
getArgbPre in interface BytePixelGetterpublic int getArgb(java.nio.ByteBuffer buf,
int offset)
getArgb in interface PixelGetter<java.nio.ByteBuffer>public int getArgbPre(java.nio.ByteBuffer buf,
int offset)
getArgbPre in interface PixelGetter<java.nio.ByteBuffer>