public final class GlyphAnimation extends AbstractAnimation
Constructor and Description |
---|
GlyphAnimation(GlyphLabel label,
long duration,
long glyphDelay,
String text)
Constructs an animation that changes the scaling of individual
glyphs over the duration.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyEffect(long time)
Applies the effect: sets the text and time.
|
addAnimationListener, animate, duration, fireAnimationStarted, fireAnimationStopped, isFreezed, removeAnimationListener, toString
public GlyphAnimation(GlyphLabel label, long duration, long glyphDelay, String text)
label
- the animation target labelduration
- the animation durationglyphDelay
- a delay used to scale glyphs differentlytext
- the text to animationprotected void applyEffect(long time)
applyEffect
in class AbstractAnimation
time
- the render time positionCopyright © 2016 JGoodies Software GmbH. All rights reserved.