public class ShadeFilter extends WholeImageFilter implements DynFiltering
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ShadeFilter() |
Modifier and Type | Method and Description |
---|---|
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() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public static final int COLORS_FROM_IMAGE
public static final int COLORS_CONSTANT
public static final int BUMPS_FROM_IMAGE
public static final int BUMPS_FROM_IMAGE_ALPHA
public static final int BUMPS_FROM_MAP
public static final int BUMPS_FROM_BEVEL
public ShadeFilter()
public void setBumpFunction(Function2D bumpFunction)
public Function2D getBumpFunction()
public void setBumpHeight(float bumpHeight)
public float getBumpHeight()
public void setBumpSoftness(float bumpSoftness)
public float getBumpSoftness()
public void setEnvironmentMap(BufferedImage environmentMap)
public BufferedImage getEnvironmentMap()
public void setBumpSource(int bumpSource)
public int getBumpSource()
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class WholeImageFilter
PageException
Copyright © 2015 Lucee