com.github.nayuki.bmpio
Class BufferedPalettedRgb888Image
java.lang.Object
com.github.nayuki.bmpio.BufferedPalettedRgb888Image
- All Implemented Interfaces:
- Rgb888Image
public final class BufferedPalettedRgb888Image
- extends Object
- implements Rgb888Image
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedPalettedRgb888Image
public BufferedPalettedRgb888Image(int width,
int height,
int[] palette)
getWidth
public int getWidth()
- Specified by:
getWidth
in interface Rgb888Image
getHeight
public int getHeight()
- Specified by:
getHeight
in interface Rgb888Image
getRgb888Pixel
public int getRgb888Pixel(int x,
int y)
- Specified by:
getRgb888Pixel
in interface Rgb888Image
setRgb888Pixel
public void setRgb888Pixel(int x,
int y,
byte colorIndex)
Copyright © 2012. All Rights Reserved.