|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.hishidama.bitmap.AbstractBitmap jp.hishidama.bitmap.Bitmap24
public abstract class Bitmap24
24bit色ビットマップ
フィールドの概要 |
---|
インタフェース jp.hishidama.bitmap.Bitmap から継承されたフィールド |
---|
INVALID_COLOR |
コンストラクタの概要 | |
---|---|
Bitmap24(BitmapInfoHeader bi)
|
|
Bitmap24(int nx,
int ny)
|
メソッドの概要 | |
---|---|
int |
getB(int c)
色コードの青要素を返す |
int |
getColor(int rgb)
RGBに該当する色コードを返す |
int |
getColor(int r,
int g,
int b)
(r,g,b)に該当する色コードを返す |
int |
getG(int c)
色コードの緑要素を返す |
int |
getR(int c)
色コードの赤要素を返す |
int |
getRGB(int c)
色コードのRGBを返す |
クラス 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 |
インタフェース jp.hishidama.bitmap.Bitmap から継承されたメソッド |
---|
get0, set0 |
コンストラクタの詳細 |
---|
public Bitmap24(int nx, int ny)
nx
- ny
- public Bitmap24(BitmapInfoHeader bi)
bi
- メソッドの詳細 |
---|
public int getRGB(int c)
Bitmap
内の getRGB
AbstractBitmap
内の getRGB
c
- 色コード
public int getR(int c)
AbstractBitmap
の記述:
AbstractBitmap
内の getR
c
- 色コード
public int getG(int c)
AbstractBitmap
の記述:
AbstractBitmap
内の getG
c
- 色コード
public int getB(int c)
AbstractBitmap
の記述:
AbstractBitmap
内の getB
c
- 色コード
public int getColor(int rgb)
Bitmap
の記述:
public int getColor(int r, int g, int b)
AbstractBitmap
の記述:
Bitmap
内の getColor
AbstractBitmap
内の getColor
r
- (0〜255)g
- (0〜255)b
- (0〜255)
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |