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, getNew
public final int readBmpInt(InputStream input) throws IOException
IOException
public final int readBmpShort(InputStream input) throws IOException
IOException
public static boolean hasSignature(InputStream in) throws IOException
IOException
public void fromICOFile(InputStream image, int whichIcon) throws IOException
IOException
public Mask getMask()
public int numIcons(InputStream icon) throws IOException
IOException
public static Vector toImages(RandomStream data, Vector dest, boolean takeAll) throws IOException
IOException