public static class RevealAnimation.Builder extends Animation.Builder<RevealAnimation,RevealAnimation.Builder>
RevealAnimation.duration, interpolator| Constructor and Description |
|---|
Builder()
Creates a new builder, which allows to configure and create instances of the class
RevealAnimation. |
| Modifier and Type | Method and Description |
|---|---|
RevealAnimation |
create()
Creates and returns the animation.
|
RevealAnimation.Builder |
setX(float x)
Sets the horizontal position, the animations, which are created by the builder, should
start at.
|
RevealAnimation.Builder |
setY(float y)
Sets the vertical position, the animations, which are created by the builder, should
start at.
|
self, setDuration, setInterpolatorpublic Builder()
RevealAnimation.public final RevealAnimation.Builder setX(float x)
x - The horizontal position, which should be set, in pixels as a Float valuepublic final RevealAnimation.Builder setY(float y)
y - The vertical position, which should be set, in pixels as a Float valuepublic final RevealAnimation create()
Animation.Buildercreate in class Animation.Builder<RevealAnimation,RevealAnimation.Builder>