public class MotionBlurState extends LinearConvolveKernel
| Modifier and Type | Field and Description |
|---|---|
private float |
angle |
private float |
radius |
| Constructor and Description |
|---|
MotionBlurState() |
| Modifier and Type | Method and Description |
|---|---|
float |
getAngle() |
int |
getHPad() |
int |
getKernelSize(int pass)
Returns the size of the kernel for a given pass.
|
float |
getRadius() |
LinearConvolveRenderState |
getRenderState(BaseTransform filtertx) |
Rectangle |
getResultBounds(Rectangle srcdimension,
int pass)
Returns the size of the output image needed for a given input
image dimensions and a given pass of the algorithm.
|
int |
getVPad() |
boolean |
isNop()
Returns true if the entire operation of this linear convolution
would have no effect on the source data.
|
void |
setAngle(float angle) |
void |
setRadius(float radius) |
isShadowpublic float getRadius()
public void setRadius(float radius)
public float getAngle()
public void setAngle(float angle)
public int getHPad()
public int getVPad()
public LinearConvolveRenderState getRenderState(BaseTransform filtertx)
getRenderState in class LinearConvolveKernelpublic boolean isNop()
LinearConvolveKernelisNop in class LinearConvolveKernelpublic int getKernelSize(int pass)
LinearConvolveKernelgetKernelSize in class LinearConvolveKernelpass - the pass of the algorithm being performedpublic final Rectangle getResultBounds(Rectangle srcdimension, int pass)
LinearConvolveKernelgetResultBounds in class LinearConvolveKernelsrcdimension - the bounds of the input imagepass - the algorithm pass being performed