public static class ConstantFileImageAnimation.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ConstantFileImageAnimation |
build()
Builds the result object.
|
ConstantFileImageAnimation.Builder |
setFrameDuration(Integer frameDuration)
Sets frame duration in milliseconds.
|
ConstantFileImageAnimation.Builder |
setFrameHeight(Integer frameHeight)
Sets frame height.
|
ConstantFileImageAnimation.Builder |
setFramePath(String framePath)
Sets path to the frame.
|
ConstantFileImageAnimation.Builder |
setFrameWidth(Integer frameWidth)
Sets frame width.
|
ConstantFileImageAnimation.Builder |
setNumFrames(Integer numFrames)
Sets number of frames.
|
public ConstantFileImageAnimation.Builder setFrameWidth(Integer frameWidth)
frameWidth - frame widthpublic ConstantFileImageAnimation.Builder setFrameHeight(Integer frameHeight)
frameHeight - frame heightpublic ConstantFileImageAnimation.Builder setFrameDuration(Integer frameDuration)
frameDuration - frame duration in millisecondspublic ConstantFileImageAnimation.Builder setNumFrames(Integer numFrames)
numFrames - number of framespublic ConstantFileImageAnimation.Builder setFramePath(String framePath)
framePath - path to the framepublic ConstantFileImageAnimation build()
Copyright © 2016. All rights reserved.