|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||
java.lang.Objectjp.hishidama.bitmap.AbstractBitmap
jp.hishidama.bitmap.AbstractPaletteBitmap
public abstract class AbstractPaletteBitmap
パレットを使うビットマップのスーパークラス
| フィールドの概要 |
|---|
| インタフェース jp.hishidama.bitmap.Bitmap から継承されたフィールド |
|---|
INVALID_COLOR |
| メソッドの概要 | |
|---|---|
int |
getColor(int rgb)
RGBに該当する色コードを返す |
int |
getRGB(int c)
色コードのRGBを返す |
boolean |
save(FileOutputStream output)
ファイルへ保存する |
void |
setPalet(int c,
int r,
int g,
int b)
パレットを設定する |
| クラス jp.hishidama.bitmap.AbstractBitmap から継承されたメソッド |
|---|
calcPitch, copy, fill, get, getB, getBitmapInfoHeader, getColor, getG, getPalets, getPitch, getR, getRGB, line, save, set, setRGB, validColor, validPos |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース jp.hishidama.bitmap.Bitmap から継承されたメソッド |
|---|
copy, fill, get, get0, getBitmapInfoHeader, getColor, getPalets, getPitch, getRGB, line, save, set, set0, setRGB, validColor, validPos |
| メソッドの詳細 |
|---|
public int getRGB(int c)
Bitmap 内の getRGBAbstractBitmap 内の getRGBc - 色コード
public int getColor(int rgb)
Bitmap 内の getColorrgb -
public void setPalet(int c,
int r,
int g,
int b)
PaletteBitmap 内の setPaletc - 色コードr - g - b - public boolean save(FileOutputStream output)
AbstractBitmap 内の saveoutput -
|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||