public class TransitionShutter extends TransitionBase
DIRECTION_DOWN, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_UP, mDirection, mLineWidth, mOrientation, mOverlapDuration, mType, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, TRANSITION_TYPE_CIRCLE, 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)
Sets the width of each blind relative to the screen width (or height).
|
void |
setOrientation(int orientation)
Sets the direction that the blinds open and close.
|
getOverlapDuration, setOverlapDuration
public float getLineWidth()
public void setLineWidth(float lineWidth)
lineWidth
- Valid values: [0, 1]public int getOrientation()
public void setOrientation(int orientation)
orientation
- TransitionBase.ORIENTATION_HORIZONTAL
,
TransitionBase.ORIENTATION_VERTICAL