| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | PixelConverter.
Subclasses of PixelConverter. |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| public static final PixelConverter | instance
Default object, used as a fallback for any surface types where we do not know enough about the surface to calculate the conversions directly. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public int | |
| public int |
| alphaMask | back to summary |
|---|---|
| protected int alphaMask | |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance Default object, used as a fallback for any surface types where we do not know enough about the surface to calculate the conversions directly. We use the ColorModel object to assist us in these cases. | |
| PixelConverter | back to summary |
|---|---|
| protected PixelConverter() | |
| getAlphaMask | back to summary |
|---|---|
| public final int getAlphaMask() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) | |
| rgbToPixel | back to summary |
|---|---|
public int rgbToPixel(int rgb, ColorModel cm)
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Argb | back to summary |
|---|---|
| private Argb() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| ArgbBm | back to summary |
|---|---|
| private ArgbBm() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| ArgbPre | back to summary |
|---|---|
| private ArgbPre() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Bgrx | back to summary |
|---|---|
| private Bgrx() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final double | |
| pack-priv static final double | |
| public static final PixelConverter | |
| pack-priv static final double |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| BLU_MULT | back to summary |
|---|---|
| pack-priv static final double BLU_MULT | |
| GRN_MULT | back to summary |
|---|---|
| pack-priv static final double GRN_MULT | |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| RED_MULT | back to summary |
|---|---|
| pack-priv static final double RED_MULT | |
| ByteGray | back to summary |
|---|---|
| private ByteGray() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Rgba | back to summary |
|---|---|
| private Rgba() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| RgbaPre | back to summary |
|---|---|
| private RgbaPre() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Rgbx | back to summary |
|---|---|
| private Rgbx() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Ushort4444Argb | back to summary |
|---|---|
| private Ushort4444Argb() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Ushort555Rgb | back to summary |
|---|---|
| private Ushort555Rgb() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Ushort555Rgbx | back to summary |
|---|---|
| private Ushort555Rgbx() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Ushort565Rgb | back to summary |
|---|---|
| private Ushort565Rgb() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter | |
| pack-priv static final double | |
| pack-priv static final double | |
| pack-priv static final double | |
| pack-priv static final double |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| SHORT_MULT | back to summary |
|---|---|
| pack-priv static final double SHORT_MULT | |
| USHORT_BLU_MULT | back to summary |
|---|---|
| pack-priv static final double USHORT_BLU_MULT | |
| USHORT_GRN_MULT | back to summary |
|---|---|
| pack-priv static final double USHORT_GRN_MULT | |
| USHORT_RED_MULT | back to summary |
|---|---|
| pack-priv static final double USHORT_RED_MULT | |
| UshortGray | back to summary |
|---|---|
| private UshortGray() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Xbgr | back to summary |
|---|---|
| private Xbgr() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PixelConverter |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| instance | back to summary |
|---|---|
| public static final PixelConverter instance | |
| Xrgb | back to summary |
|---|---|
| private Xrgb() | |
| pixelToRgb | back to summary |
|---|---|
| public int pixelToRgb(int pixel, ColorModel cm) Overrides sun. | |
| rgbToPixel | back to summary |
|---|---|
| public int rgbToPixel(int rgb, ColorModel cm) Overrides sun. | |