public class AutoEffect extends PressEffect
| 限定符和类型 | 字段和说明 |
|---|---|
protected float |
mDownX |
protected float |
mDownY |
protected float |
mPaintX |
protected float |
mPaintY |
mCenterX, mCenterY, mMaxRadius, mMaxRadiusFactor, mMinRadius, mMinRadiusFactor, mRadiusmAlpha, mMaxAlpha| 构造器和说明 |
|---|
AutoEffect() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
animationEnter(float factor) |
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) |
getMaxRadiusFactor, getMinRadiusFactor, onResize, setMaxRadius, setMaxRadiusFactor, setMinRadiusFactorgetMaxEaseAlpha, setMaxEaseAlphaclone, getHeight, getOutline, getWidth, hasAlpha, resize, setPaintAlpha, touchCancel, touchMove, touchReleasedprotected float mDownX
protected float mDownY
protected float mPaintX
protected float mPaintY
public 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 animationEnter(float factor)
animationEnter 在类中 PressEffectpublic void animationExit(float factor)
animationExit 在类中 PressEffect