sub_arctic.output2D
Class transparent_image

java.lang.Object
  |
  +--sub_arctic.output2D.transparent_image

public class transparent_image
extends java.lang.Object

Class to support utility function for creating a transparent in-memory image. This depends on Java2D functionallity (apparently its impossible to create an in-memory image initialized to transparent that you can actually draw on in the original (v1.1 and earlier) AWT).


Method Summary
static loaded_image make(int w, int h)
          Static utility routine to create an in-memory image of a given size initialized to transparent (and that can be drawn on).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

make

public static loaded_image make(int w,
                                int h)
Static utility routine to create an in-memory image of a given size initialized to transparent (and that can be drawn on).
Parameters:
int - w the width of the resulting image
int - h the height of the resulting image