public class ZoomRadialBlurState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private float |
dx |
private float |
dy |
private ZoomRadialBlur |
effect |
Constructor and Description |
---|
ZoomRadialBlurState(ZoomRadialBlur effect) |
Modifier and Type | Method and Description |
---|---|
float |
getAlpha() |
float |
getDx()
Returns offset by X axis to the next pixel
|
float |
getDy()
Returns offset by Y axis to the next pixel
|
int |
getNumSteps() |
int |
getRadius() |
void |
invalidateDeltas()
Invalidates X and Y offsets.
|
void |
updateDeltas(float dx,
float dy)
Updates offsets by X and Y axes.
|
private float dx
private float dy
private final ZoomRadialBlur effect
public ZoomRadialBlurState(ZoomRadialBlur effect)
public int getRadius()
public void updateDeltas(float dx, float dy)
public void invalidateDeltas()
public float getDx()
public float getDy()
public int getNumSteps()
public float getAlpha()