public interface TransitionGenerator
| Modifier and Type | Method and Description |
|---|---|
Transition |
generateNextTransition(android.graphics.RectF drawableBounds,
android.graphics.RectF viewport)
Generates the next transition to be played by the
KenBurnsView. |
Transition generateNextTransition(android.graphics.RectF drawableBounds, android.graphics.RectF viewport)
KenBurnsView.drawableBounds - the bounds of the drawable to be shown in the KenBurnsView.viewport - the rect that represents the viewport where
the transition will be played in. This is usually the bounds of the
KenBurnsView.Transition object to be played by the KenBurnsView.