jp.hishidama.bitmap
クラス MemoryBitmap24

java.lang.Object
  上位を拡張 jp.hishidama.bitmap.AbstractBitmap
      上位を拡張 jp.hishidama.bitmap.Bitmap24
          上位を拡張 jp.hishidama.bitmap.MemoryBitmap24
すべての実装されたインタフェース:
Bitmap

public class MemoryBitmap24
extends Bitmap24

メモリー上で扱う24bit色ビットマップ

作成者:
ひしだま

フィールドの概要
 
インタフェース jp.hishidama.bitmap.Bitmap から継承されたフィールド
INVALID_COLOR
 
コンストラクタの概要
MemoryBitmap24(BitmapInfoHeader bi)
           
MemoryBitmap24(int nx, int ny)
           
 
メソッドの概要
 int get0(int x, int y)
          指定された座標の色コードを返す
(座標の有効範囲チェック無し)
 boolean set0(int x, int y, int c)
          指定された座標に色コードをセットする
(座標や色コードの有効範囲チェック無し)
 
クラス jp.hishidama.bitmap.Bitmap24 から継承されたメソッド
getB, getColor, getColor, getG, getR, getRGB
 
クラス jp.hishidama.bitmap.AbstractBitmap から継承されたメソッド
calcPitch, copy, fill, get, getBitmapInfoHeader, getPalets, getPitch, getRGB, line, save, save, set, setRGB, validColor, validPos
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MemoryBitmap24

public MemoryBitmap24(int nx,
                      int ny)
パラメータ:
nx -
ny -

MemoryBitmap24

public MemoryBitmap24(BitmapInfoHeader bi)
パラメータ:
bi -
メソッドの詳細

set0

public boolean set0(int x,
                    int y,
                    int c)
インタフェース Bitmap の記述:
指定された座標に色コードをセットする
(座標や色コードの有効範囲チェック無し)

c - 色コード
戻り値:
成功した場合、true

get0

public int get0(int x,
                int y)
インタフェース Bitmap の記述:
指定された座標の色コードを返す
(座標の有効範囲チェック無し)

戻り値:
色コード