public class EffectKenBurns extends Effect
mDurationMs, mStartTimeMs
Constructor and Description |
---|
EffectKenBurns(MediaItem mediaItem,
String effectId,
Rect startRect,
Rect endRect,
long startTimeMs,
long durationMs)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Rect |
getEndRect()
Get the end rectangle.
|
Rect |
getStartRect()
Get the start rectangle.
|
equals, getDuration, getId, getMediaItem, getStartTime, hashCode, setDuration, setStartTime, setStartTimeAndDuration
public EffectKenBurns(MediaItem mediaItem, String effectId, Rect startRect, Rect endRect, long startTimeMs, long durationMs)
mediaItem
- The media item ownereffectId
- The effect idstartRect
- The start rectangleendRect
- The end rectanglestartTimeMs
- The start timedurationMs
- The duration of the Ken Burns effect in milliseconds