jwx!
v0.0.2


wx
Class Bitmap

java.lang.Object
  extended bywx.Object
      extended bywx.GDIObject
          extended bywx.Bitmap

public class Bitmap
extends GDIObject


Field Summary
static Bitmap NullBitmap
           
 
Constructor Summary
Bitmap()
           
Bitmap(Bitmap bitmap)
           
Bitmap(Image img)
           
Bitmap(Image img, int depth)
           
Bitmap(int width, int height)
           
Bitmap(int width, int height, int depth)
           
Bitmap(java.lang.String name)
           
Bitmap(java.lang.String name, int type)
           
 
Method Summary
 Image convertToImage()
           
 boolean copyFromIcon(Icon icon)
           
 void delete()
           
 int getDepth()
           
 int getHeight()
           
 Mask getMask()
           
 Palette getPalette()
           
 Bitmap getSubBitmap(Rect rect)
           
 int getWidth()
           
 boolean loadFile(java.lang.String name, int type)
           
 boolean ok()
           
 boolean saveFile(java.lang.String name, int type)
           
 boolean saveFile(java.lang.String name, int type, Palette palette)
           
 void setDepth(int depth)
           
 void setHeight(int height)
           
 void setMask(Mask mask)
           
 void setPalette(Palette palette)
           
 void setWidth(int width)
           
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NullBitmap

public static final Bitmap NullBitmap
Constructor Detail

Bitmap

public Bitmap()

Bitmap

public Bitmap(Bitmap bitmap)

Bitmap

public Bitmap(int width,
              int height,
              int depth)

Bitmap

public Bitmap(int width,
              int height)

Bitmap

public Bitmap(java.lang.String name,
              int type)

Bitmap

public Bitmap(java.lang.String name)

Bitmap

public Bitmap(Image img,
              int depth)

Bitmap

public Bitmap(Image img)
Method Detail

delete

public void delete()
Overrides:
delete in class GDIObject

convertToImage

public Image convertToImage()

copyFromIcon

public boolean copyFromIcon(Icon icon)

getDepth

public int getDepth()

getHeight

public int getHeight()

getPalette

public Palette getPalette()

getMask

public Mask getMask()

getWidth

public int getWidth()

getSubBitmap

public Bitmap getSubBitmap(Rect rect)

loadFile

public boolean loadFile(java.lang.String name,
                        int type)

ok

public boolean ok()

saveFile

public boolean saveFile(java.lang.String name,
                        int type,
                        Palette palette)

saveFile

public boolean saveFile(java.lang.String name,
                        int type)

setDepth

public void setDepth(int depth)

setHeight

public void setHeight(int height)

setMask

public void setMask(Mask mask)

setPalette

public void setPalette(Palette palette)

setWidth

public void setWidth(int width)

jwx!
v0.0.2


© 2006 Amit G Mendapara.