public class AnimatableIntegerValue
extends java.lang.Object
| Constructor and Description |
|---|
AnimatableIntegerValue(org.json.JSONObject json,
int frameRate,
LottieComposition composition,
boolean isDp,
boolean remap100To255) |
AnimatableIntegerValue(LottieComposition composition,
java.lang.Integer initialValue) |
| Modifier and Type | Method and Description |
|---|---|
KeyframeAnimation<java.lang.Integer> |
createAnimation() |
java.lang.Integer |
getInitialValue() |
boolean |
hasAnimation() |
java.lang.String |
toString() |
protected java.lang.Integer |
valueFromObject(java.lang.Object object,
float scale) |
public AnimatableIntegerValue(LottieComposition composition, java.lang.Integer initialValue)
public AnimatableIntegerValue(org.json.JSONObject json,
int frameRate,
LottieComposition composition,
boolean isDp,
boolean remap100To255)
protected java.lang.Integer valueFromObject(java.lang.Object object,
float scale)
throws org.json.JSONException
org.json.JSONExceptionpublic KeyframeAnimation<java.lang.Integer> createAnimation()
public java.lang.Integer getInitialValue()
public boolean hasAnimation()
public java.lang.String toString()
toString in class java.lang.Object