Package ca.corbett.extras.image.animation
package ca.corbett.extras.image.animation
This package contains animation classes that can be used inside an animation loop.
For example usage, refer to the ext-mp-scenery extension for the MusicPlayer application,
or refer to the swing-extras-book documentation.
- Since:
- swing-extras 2.3
- Author:
- scorbo2 (with help from Claude!)
-
ClassDescriptionAnimates a text display, such that a given text string will be slowly "printed" out character by character with configurable styling and with a configurable speed.Helper class to store cursor positionSmoothly animates an image from a source location to a destination location, with optional acceleration and deceleration parameters on either end of the image movement.Displays an oversized image and slowly scrolls it either horizontally back-and-forth (for landscape images) or vertically up-and-down (for portrait images).Determines the extent to which we slow down as we approach a scroll limit, and also how quickly we speed up as we move away from a scroll limit.Determines pixels per frame of animation movement.