public class MotionBlurState extends LinearConvolveKernel
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) |
isShadow
public 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 LinearConvolveKernel
public boolean isNop()
LinearConvolveKernel
isNop
in class LinearConvolveKernel
public int getKernelSize(int pass)
LinearConvolveKernel
getKernelSize
in class LinearConvolveKernel
pass
- the pass of the algorithm being performedpublic final Rectangle getResultBounds(Rectangle srcdimension, int pass)
LinearConvolveKernel
getResultBounds
in class LinearConvolveKernel
srcdimension
- the bounds of the input imagepass
- the algorithm pass being performedCopyright © 2020. All rights reserved.