railo.runtime.img.filter
Class ShadeFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.WholeImageFilter
          extended by railo.runtime.img.filter.ShadeFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering

public class ShadeFilter
extends WholeImageFilter
implements DynFiltering


Field Summary
static int BUMPS_FROM_BEVEL
           
static int BUMPS_FROM_IMAGE
           
static int BUMPS_FROM_IMAGE_ALPHA
           
static int BUMPS_FROM_MAP
           
static int COLORS_CONSTANT
           
static int COLORS_FROM_IMAGE
           
 
Constructor Summary
ShadeFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 Function2D getBumpFunction()
           
 float getBumpHeight()
           
 float getBumpSoftness()
           
 int getBumpSource()
           
 BufferedImage getEnvironmentMap()
           
 void setBumpFunction(Function2D bumpFunction)
           
 void setBumpHeight(float bumpHeight)
           
 void setBumpSoftness(float bumpSoftness)
           
 void setBumpSource(int bumpSource)
           
 void setEnvironmentMap(BufferedImage environmentMap)
           
 String toString()
           
 
Methods inherited from class railo.runtime.img.filter.WholeImageFilter
filter
 
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLORS_FROM_IMAGE

public static final int COLORS_FROM_IMAGE
See Also:
Constant Field Values

COLORS_CONSTANT

public static final int COLORS_CONSTANT
See Also:
Constant Field Values

BUMPS_FROM_IMAGE

public static final int BUMPS_FROM_IMAGE
See Also:
Constant Field Values

BUMPS_FROM_IMAGE_ALPHA

public static final int BUMPS_FROM_IMAGE_ALPHA
See Also:
Constant Field Values

BUMPS_FROM_MAP

public static final int BUMPS_FROM_MAP
See Also:
Constant Field Values

BUMPS_FROM_BEVEL

public static final int BUMPS_FROM_BEVEL
See Also:
Constant Field Values
Constructor Detail

ShadeFilter

public ShadeFilter()
Method Detail

setBumpFunction

public void setBumpFunction(Function2D bumpFunction)

getBumpFunction

public Function2D getBumpFunction()

setBumpHeight

public void setBumpHeight(float bumpHeight)

getBumpHeight

public float getBumpHeight()

setBumpSoftness

public void setBumpSoftness(float bumpSoftness)

getBumpSoftness

public float getBumpSoftness()

setEnvironmentMap

public void setEnvironmentMap(BufferedImage environmentMap)

getEnvironmentMap

public BufferedImage getEnvironmentMap()

setBumpSource

public void setBumpSource(int bumpSource)

getBumpSource

public int getBumpSource()

toString

public String toString()
Overrides:
toString in class Object

filter

public BufferedImage filter(BufferedImage src,
                            Struct parameters)
                     throws PageException
Specified by:
filter in interface DynFiltering
Overrides:
filter in class WholeImageFilter
Throws:
PageException


Copyright © 2012 Railo