com.github.nayuki.bmpio
Class BufferedPalettedRgb888Image

java.lang.Object
  extended by com.github.nayuki.bmpio.BufferedPalettedRgb888Image
All Implemented Interfaces:
Rgb888Image

public final class BufferedPalettedRgb888Image
extends Object
implements Rgb888Image


Constructor Summary
BufferedPalettedRgb888Image(int width, int height, int[] palette)
           
 
Method Summary
 int getHeight()
           
 int getRgb888Pixel(int x, int y)
           
 int getWidth()
           
 void setRgb888Pixel(int x, int y, byte colorIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedPalettedRgb888Image

public BufferedPalettedRgb888Image(int width,
                                   int height,
                                   int[] palette)
Method Detail

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.