public class WindowsIcon extends WindowsBitmap
_fields, bitmapBytesPerLine, bpp, bytes, colorTable, decodedImage, fileHeader, height, HeightLocation, infoHeader, isIcon, maskBytesPerLine, masks, OPTION_ALWAYS_USE_ARGB, OPTION_DONT_ALLOW_ARGB, OPTION_DONT_USE_PALETTE, OPTION_USE_RGB_OR_ARGB_ONLY, size, SizeLocation, transparentColorIndex, width| Constructor and Description |
|---|
WindowsIcon() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromICOFile(InputStream image,
int whichIcon) |
Mask |
getMask() |
static boolean |
hasSignature(InputStream in) |
int |
numIcons(InputStream icon) |
int |
readBmpInt(InputStream input) |
int |
readBmpShort(InputStream input) |
IImage |
toImage(Wrapper usedMask) |
static Vector |
toImages(RandomStream data,
Vector dest,
boolean takeAll) |
copyFrom, copyFrom, fromInfoHeader, getColorFor, getColorIndexAt, getMaskForColor, getSize, readBmpInt, toIcon, toImage, toImage, write, writeBmpInt_getFieldType, _getSetField, cache, compareTo, copied, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNewpublic final int readBmpInt(InputStream input) throws IOException
IOExceptionpublic final int readBmpShort(InputStream input) throws IOException
IOExceptionpublic static boolean hasSignature(InputStream in) throws IOException
IOExceptionpublic void fromICOFile(InputStream image, int whichIcon) throws IOException
IOExceptionpublic Mask getMask()
public int numIcons(InputStream icon) throws IOException
IOExceptionpublic static Vector toImages(RandomStream data, Vector dest, boolean takeAll) throws IOException
IOException