public class LottieRelativeIntegerValueCallback extends LottieValueCallback<java.lang.Integer>
LottieValueCallback that provides a value offset from the original animation
rather than an absolute value.value| Constructor and Description |
|---|
LottieRelativeIntegerValueCallback() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getOffset(LottieFrameInfo<java.lang.Integer> frameInfo)
Override this to provide your own offset on every frame.
|
java.lang.Integer |
getValue(LottieFrameInfo<java.lang.Integer> frameInfo)
Override this if you haven't set a static value in the constructor or with setValue.
|
getValueInternal, setAnimation, setValuepublic java.lang.Integer getValue(LottieFrameInfo<java.lang.Integer> frameInfo)
LottieValueCallbackgetValue in class LottieValueCallback<java.lang.Integer>public java.lang.Integer getOffset(LottieFrameInfo<java.lang.Integer> frameInfo)