public static class CompositeImageAnimation.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CompositeImageAnimation.Builder |
addSubAnimation(int x,
int y,
ImageAnimation animation)
Adds sub animation.
|
CompositeImageAnimation |
build()
Builds the result object.
|
CompositeImageAnimation.Builder |
setFrameHeight(Integer frameHeight)
Sets frame height.
|
CompositeImageAnimation.Builder |
setFrameWidth(Integer frameWidth)
Sets frame width.
|
public CompositeImageAnimation.Builder setFrameWidth(Integer frameWidth)
frameWidth - frame widthpublic CompositeImageAnimation.Builder setFrameHeight(Integer frameHeight)
frameHeight - frame heightpublic CompositeImageAnimation.Builder addSubAnimation(int x, int y, ImageAnimation animation)
x - position xy - position yanimation - animationpublic CompositeImageAnimation build()
Copyright © 2016. All rights reserved.