org.xith3d.utility.image
Class MaskedBackgroundBuilder

java.lang.Object
  extended by org.xith3d.utility.image.MaskedBackgroundBuilder

public class MaskedBackgroundBuilder
extends java.lang.Object

A powerful implementation of the border interface. This creates an alpha blended image using a series of supplied images.


Constructor Summary
MaskedBackgroundBuilder(java.awt.image.BufferedImage border, java.awt.image.BufferedImage borderMask, java.awt.image.BufferedImage center)
           
 
Method Summary
 java.awt.image.BufferedImage getImage(int width, int height)
           
 void setCornerSize(int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaskedBackgroundBuilder

public MaskedBackgroundBuilder(java.awt.image.BufferedImage border,
                               java.awt.image.BufferedImage borderMask,
                               java.awt.image.BufferedImage center)
Method Detail

setCornerSize

public void setCornerSize(int size)

getImage

public java.awt.image.BufferedImage getImage(int width,
                                             int height)