Class BitmapDescriptor
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.bmp.BitmapDescriptor
-
- Direct Known Subclasses:
BitmapIndexed,BitmapMask,BitmapRGB,BitmapUnsupported
abstract class BitmapDescriptor extends java.lang.ObjectDescribes a bitmap structure.- Version:
- $Id: Bitmap.java,v 1.0 25.feb.2006 00:29:44 haku Exp$
-
-
Field Summary
Fields Modifier and Type Field Description protected DirectoryEntryentryprotected DIBHeaderheaderprotected java.awt.image.BufferedImageimageprotected BitmapMaskmask
-
Constructor Summary
Constructors Constructor Description BitmapDescriptor(DirectoryEntry entry, DIBHeader header)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected intgetBitCount()protected intgetColorCount()intgetHeight()abstract java.awt.image.BufferedImagegetImage()intgetWidth()booleanhasMask()(package private) voidsetMask(BitmapMask mask)java.lang.StringtoString()
-
-
-
Field Detail
-
entry
protected final DirectoryEntry entry
-
header
protected final DIBHeader header
-
image
protected java.awt.image.BufferedImage image
-
mask
protected BitmapMask mask
-
-
Constructor Detail
-
BitmapDescriptor
public BitmapDescriptor(DirectoryEntry entry, DIBHeader header)
-
-
Method Detail
-
getImage
public abstract java.awt.image.BufferedImage getImage() throws java.io.IOException- Throws:
java.io.IOException
-
getWidth
public final int getWidth()
-
getHeight
public final int getHeight()
-
getColorCount
protected final int getColorCount()
-
getBitCount
protected final int getBitCount()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setMask
final void setMask(BitmapMask mask)
-
hasMask
public final boolean hasMask()
-
-