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