public class TransitionBase
extends java.lang.Object
TransitionCircle
——Circle
TransitionFade
——Fade
TransitionFiveStar
——Pentagram
TransitionShutter
——Blinds
TransitionTranslate
——Translational motionModifier and Type | Field and Description |
---|---|
static int |
DIRECTION_DOWN
Downward motion.
|
static int |
DIRECTION_LEFT
Leftward motion.
|
static int |
DIRECTION_RIGHT
Rightward motion.
|
static int |
DIRECTION_UP
Upward motion.
|
protected int |
mDirection
The direction of the translational motion.
|
protected float |
mLineWidth
The width of each blind.
|
protected int |
mOrientation
The direction that the blinds open and close.
|
protected long |
mOverlapDuration
The overlap between the video clips preceding and following the effect.
|
int |
mType
The transition type.
|
static int |
ORIENTATION_HORIZONTAL
Horizontal motion.
|
static int |
ORIENTATION_VERTICAL
Vertical motion.
|
protected static int |
TRANSITION_TYPE_CIRCLE
Circle.
|
protected static int |
TRANSITION_TYPE_FADE
Fade.
|
protected static int |
TRANSITION_TYPE_FIVEPOINTSTAR
Pentagram.
|
protected static int |
TRANSITION_TYPE_SHUTTER
Blinds.
|
protected static int |
TRANSITION_TYPE_TRANSLATE
Translational motion.
|
Constructor and Description |
---|
TransitionBase() |
Modifier and Type | Method and Description |
---|---|
long |
getOverlapDuration() |
void |
setOverlapDuration(long overlapDurationUs)
Sets the overlap between the video clips preceding and following the effect.
|
protected static final int TRANSITION_TYPE_SHUTTER
protected static final int TRANSITION_TYPE_TRANSLATE
protected static final int TRANSITION_TYPE_CIRCLE
protected static final int TRANSITION_TYPE_FIVEPOINTSTAR
protected static final int TRANSITION_TYPE_FADE
public static final int ORIENTATION_HORIZONTAL
public static final int ORIENTATION_VERTICAL
public static final int DIRECTION_LEFT
public static final int DIRECTION_RIGHT
public static final int DIRECTION_UP
public static final int DIRECTION_DOWN
public int mType
protected long mOverlapDuration
protected float mLineWidth
protected int mOrientation
protected int mDirection