org.jvnet.lafwidget.animation
public interface FadeStep
Modifier and Type | Method and Description |
---|---|
float |
getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping)
Returns the next fade cycle step.
|
float getNextStep(FadeKind fadeKind, float currFadePosition, boolean isFadeIn, boolean isLooping)
fadeKind
- Fade kind.currFadePosition
- Current fade position - guaranteed to be in 0.0-1.0 range.isFadeIn
- If true
, the current fade cycle is fading in.isLooping
- If true
, the fade is looping.