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