src/main/java/com/mxgraph/util/mxUtils.java
public static BufferedImage createBufferedImage(int w, int h,
			Color background)
	{
		return mxUtils.createBufferedImage(w, h, background, (background != null) ? BufferedImage.TYPE_INT_RGB
				: BufferedImage.TYPE_INT_ARGB);
	}
/**
	 * Creates a buffered image for the given parameters. If there is not enough
	 * memory to create the image then a OutOfMemoryError is thrown.
	 */
Creates a buffered image for the given parameters. If there is not enough
memory to create the image then a OutOfMemoryError is thrown.
Creates a buffered image for the given parameters . If there is not enough memory to create the image then a OutOfMemoryError is thrown .
public static BufferedImage createBufferedImage(int w, int h,
			Color background)
	{
		return mxUtils.createBufferedImage(w, h, background, (background != null) ? BufferedImage.TYPE_INT_RGB
				: BufferedImage.TYPE_INT_ARGB);
	}
public static BufferedImage createBufferedImage ( int w , int h , Color background ) { return mxUtils . createBufferedImage ( w , h , background , ( background != null ) ? BufferedImage . TYPE_INT_RGB : BufferedImage . TYPE_INT_ARGB ) ; }
Creates a buffered image for the given parameters.
Creates a buffered image for the given parameters .