public class ColorEntry
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
int |
bBlue
The blue component, which should be in the range 0..255.
|
int |
bGreen
The green component, which should be in the range 0..255.
|
int |
bRed
The red component, which should be in the range 0..255.
|
int |
bReserved
Unused.
|
构造器和说明 |
---|
ColorEntry()
Creates a colour entry with colour components initialized to 0.
|
ColorEntry(int r,
int g,
int b,
int a)
Creates a colour entry with the specified colour components.
|
ColorEntry(LittleEndianInputStream in)
Reads and creates a colour entry from the source input.
|
public int bRed
public int bGreen
public int bBlue
public int bReserved
public ColorEntry(LittleEndianInputStream in) throws java.io.IOException
in
- the source inputjava.io.IOException
- if an error occurspublic ColorEntry()
public ColorEntry(int r, int g, int b, int a)
r
- red componentg
- green componentb
- blue componenta
- unused