public class TransitionShutter extends TransitionBase
Effect.Type| Modifier and Type | Field and Description |
|---|---|
protected float |
mLineWidth
The width of each blind.
|
protected int |
mOrientation
The direction that the blinds open and close.
|
DIRECTION_DOWN, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_UP, mCustomSource, mParamsString, mType, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, TRANSITION_TYPE_CIRCLE, TRANSITION_TYPE_CUSTOM, TRANSITION_TYPE_FADE, TRANSITION_TYPE_FIVEPOINTSTAR, TRANSITION_TYPE_SHUTTER, TRANSITION_TYPE_TRANSLATE| Constructor and Description |
|---|
TransitionShutter() |
| Modifier and Type | Method and Description |
|---|---|
float |
getLineWidth() |
int |
getOrientation() |
TransitionShutter |
setLineWidth(float lineWidth)
Sets the width of each blind relative to the screen width (or height).
|
TransitionShutter |
setOrientation(int orientation)
Sets the direction that the blinds open and close.
|
getCustomSource, getEffectConfig, getNodeTree, getOverlapDuration, getOverlapDuration, setCustomSource, setEffectConfig, setOverlapDuration, setOverlapDuration, setParamsString, toJsonStringprotected float mLineWidth
protected int mOrientation
public float getLineWidth()
public TransitionShutter setLineWidth(float lineWidth)
lineWidth - Valid values: [0, 1]public int getOrientation()
public TransitionShutter setOrientation(int orientation)
orientation - TransitionBase.ORIENTATION_HORIZONTAL,
TransitionBase.ORIENTATION_VERTICAL