public class TransitionShutter extends TransitionBase
Effect.Type| Modifier and Type | Field and Description |
|---|---|
protected float |
mLineWidth
百叶窗叶子宽度
|
protected int |
mOrientation
百叶窗叶子翻转布局
|
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() |
void |
setLineWidth(float lineWidth)
百叶窗叶子宽度,相对于输出窗口的宽高
|
void |
setOrientation(int orientation)
设置百叶窗翻转的方向,横向/纵向
|
getCustomSource, getEffectConfig, getNodeTree, getOverlapDuration, setCustomSource, setEffectConfig, setOverlapDuration, setParamsString, toJsonStringprotected float mLineWidth
protected int mOrientation
public float getLineWidth()
public void setLineWidth(float lineWidth)
lineWidth - 相对值[0,1]public int getOrientation()
public void setOrientation(int orientation)
orientation - TransitionBase.ORIENTATION_HORIZONTAL,
TransitionBase.ORIENTATION_VERTICAL