Class BitmapDescriptor
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.bmp.BitmapDescriptor
-
- Direct Known Subclasses:
BitmapIndexed
,BitmapMask
,BitmapRGB
,BitmapUnsupported
abstract class BitmapDescriptor extends java.lang.Object
Describes 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 DirectoryEntry
entry
protected DIBHeader
header
protected java.awt.image.BufferedImage
image
protected BitmapMask
mask
-
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 int
getBitCount()
protected int
getColorCount()
int
getHeight()
abstract java.awt.image.BufferedImage
getImage()
int
getWidth()
boolean
hasMask()
(package private) void
setMask(BitmapMask mask)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
setMask
final void setMask(BitmapMask mask)
-
hasMask
public final boolean hasMask()
-
-