public class RippleEffect extends PressEffect
| 限定符和类型 | 字段和说明 |
|---|---|
protected float |
mPaintX |
protected float |
mPaintY |
mCenterX, mCenterY, mMaxRadius, mMaxRadiusFactor, mMinRadius, mMinRadiusFactor, mRadiusmAlpha, mMaxAlpha| 构造器和说明 |
|---|
RippleEffect() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
animationExit(float factor) |
void |
draw(Canvas canvas,
Paint paint)
Draw this shape into the provided Canvas, with the provided Paint.
|
void |
touchDown(float dx,
float dy) |
animationEnter, getMaxRadiusFactor, getMinRadiusFactor, onResize, setMaxRadius, setMaxRadiusFactor, setMinRadiusFactorgetMaxEaseAlpha, setMaxEaseAlphaclone, getHeight, getOutline, getWidth, hasAlpha, resize, setPaintAlpha, touchMove, touchReleasedpublic void draw(Canvas canvas, Paint paint)
EffectEffect.resize(float, float).draw 在类中 PressEffectcanvas - the Canvas within which this shape should be drawnpaint - the Paint object that defines this shape's characteristicspublic void animationExit(float factor)
animationExit 在类中 PressEffect