public class FieldWarpFilter extends TransformFilter implements DynFiltering
Modifier and Type | Class and Description |
---|---|
static class |
FieldWarpFilter.Line |
BILINEAR, NEAREST_NEIGHBOUR
Constructor and Description |
---|
FieldWarpFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
float |
getAmount()
Get the amount of warp.
|
FieldWarpFilter.Line[] |
getInLines() |
FieldWarpFilter.Line[] |
getOutLines() |
float |
getPower() |
float |
getStrength() |
void |
setAmount(float amount)
Set the amount of warp.
|
void |
setInLines(FieldWarpFilter.Line[] inLines) |
void |
setOutLines(FieldWarpFilter.Line[] outLines) |
void |
setPower(float power) |
void |
setStrength(float strength) |
String |
toString() |
getEdgeAction, getInterpolation, setEdgeAction, setInterpolation
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public FieldWarpFilter()
public void setAmount(float amount)
amount
- the amountgetAmount()
public float getAmount()
setAmount(float)
public void setPower(float power)
public float getPower()
public void setStrength(float strength)
public float getStrength()
public void setInLines(FieldWarpFilter.Line[] inLines)
public FieldWarpFilter.Line[] getInLines()
public void setOutLines(FieldWarpFilter.Line[] outLines)
public FieldWarpFilter.Line[] getOutLines()
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class TransformFilter
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransformFilter
PageException
Copyright © 2015 Lucee