/** Clients should not call this directly. Use startEffect() instead. */ public void effectStep() { resizeWidth(); resizeHeight(); moveX(); moveY(); resizer.resize(currentWidth, currentHeight); resizer.move(currentX, currentY); }
public boolean isEffectComplete() { return resizer.resizeComplete(targetWidth, targetHeight) && resizer.moveComplete(targetX, targetY); }