All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.ibm.beans.gauge.ImageUtils

java.lang.Object
   |
   +----COM.ibm.beans.gauge.ImageUtils

public class ImageUtils
extends Object

This class provides Image oriented utility functions.


Method Index

 o copyright()
Copyright method to ensure that short copyright string appears in class file.
 o createImage(Image)
Return an Image which is a copy of the supplied Image.
 o createImage(int, int, Toolkit, int[])
Return an image based on the given pixel map.
 o createImage(int, int, Toolkit, int[], boolean)
Return an image based on the given pixel map.
 o getColorArray(Image)
Return an array of Colors which are used in the supplied Image.

Methods

 o copyright

 public static String copyright()
Copyright method to ensure that short copyright string appears in class file.

 o createImage

 protected static Image createImage(int width,
                                    int height,
                                    Toolkit t,
                                    int pixels[],
                                    boolean hasAlphaPixels)
Return an image based on the given pixel map. The alpha values (bits 24-31) must be non zero for a visible image.

 o createImage

 public static Image createImage(int width,
                                 int height,
                                 Toolkit t,
                                 int pixels[])
Return an image based on the given pixel map. The alpha values (bits 24-31) must be non zero for a visible image.

 o createImage

 public static Image createImage(Image source)
Return an Image which is a copy of the supplied Image.

 o getColorArray

 public static Color[] getColorArray(Image sourceImage)
Return an array of Colors which are used in the supplied Image.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Copyright © Taligent, Inc. 1996 - 1997.
Copyright
© IBM Corporation 1996 - 1997.
All Rights Reserved.