public class IconEntry
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
int |
bColorCount
The number of colours, calculated from
sBitCount. |
int |
bHeight
The height of the icon image in pixels.
|
byte |
bReserved
Unused.
|
int |
bWidth
The width of the icon image in pixels.
|
int |
iFileOffset
Position in file where the InfoHeader starts.
|
int |
iSizeInBytes
Size of ICO data, which should be the size of (InfoHeader + AND bitmap + XOR bitmap).
|
short |
sBitCount
Colour depth in bits per pixel.
|
short |
sPlanes
Number of planes, which should always be 1.
|
| 构造器和说明 |
|---|
IconEntry()
Creates and IconEntry structure with default values.
|
IconEntry(LittleEndianInputStream in)
Creates an IconEntry structure from the source input
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
toString()
A string representation of this IconEntry structure.
|
void |
write(LittleEndianOutputStream out)
Writes the IconEntry structure to output
|
public int bWidth
public int bHeight
public int bColorCount
sBitCount.
0 specifies a colour count of >= 256.public byte bReserved
public short sPlanes
public short sBitCount
public int iSizeInBytes
public int iFileOffset
public IconEntry(LittleEndianInputStream in) throws java.io.IOException
in - the source inputjava.io.IOException - if an error occurspublic IconEntry()
public java.lang.String toString()
toString 在类中 java.lang.Objectpublic void write(LittleEndianOutputStream out) throws java.io.IOException
out - the outputjava.io.IOException - if an error occurs