|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.hishidama.bitmap.AbstractBitmap jp.hishidama.bitmap.AbstractPaletteBitmap jp.hishidama.bitmap.Bitmap08 jp.hishidama.bitmap.FileBitmap08
public class FileBitmap08
ファイル上で扱う256色ビットマップ
フィールドの概要 |
---|
インタフェース jp.hishidama.bitmap.Bitmap から継承されたフィールド |
---|
INVALID_COLOR |
コンストラクタの概要 | |
---|---|
FileBitmap08(File file,
BitmapFileHeader fh,
BitmapInfoHeader bi,
BitmapInfoColors pl)
|
|
FileBitmap08(int nx,
int ny,
String pathName,
String fileName)
|
メソッドの概要 | |
---|---|
boolean |
close()
開いているファイルを閉じる。 |
boolean |
flush()
ファイルをフラッシュする。 |
int |
get0(int x,
int y)
指定された座標の色コードを返す (座標の有効範囲チェック無し) |
boolean |
set0(int x,
int y,
int c)
指定された座標に色コードをセットする (座標や色コードの有効範囲チェック無し) |
void |
setPalet(int c,
int r,
int g,
int b)
パレットを設定する |
クラス jp.hishidama.bitmap.AbstractPaletteBitmap から継承されたメソッド |
---|
getColor, getRGB, save |
クラス 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, getBitmapInfoHeader, getColor, getColor, getPalets, getPitch, getRGB, getRGB, line, save, set, setRGB, validColor, validPos |
コンストラクタの詳細 |
---|
public FileBitmap08(int nx, int ny, String pathName, String fileName)
public FileBitmap08(File file, BitmapFileHeader fh, BitmapInfoHeader bi, BitmapInfoColors pl)
メソッドの詳細 |
---|
public boolean flush()
FileBitmap
の記述:
FileBitmap
内の flush
public boolean close()
FileBitmap
の記述:
FileBitmap
内の close
public void setPalet(int c, int r, int g, int b)
PaletteBitmap
内の setPalet
AbstractPaletteBitmap
内の setPalet
c
- 色コードr
- g
- b
- public boolean set0(int x, int y, int c)
Bitmap
の記述:
Bitmap
内の set0
c
- 色コード
public int get0(int x, int y)
Bitmap
の記述:
Bitmap
内の get0
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |