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