-
public class TransformKeyframeAnimation
-
-
Field Summary
Fields Modifier and Type Field Description private final Matrixmatrixprivate BaseKeyframeAnimation<out Object, Float>startOpacityprivate BaseKeyframeAnimation<out Object, Float>endOpacity
-
Constructor Summary
Constructors Constructor Description TransformKeyframeAnimation(AnimatableTransform animatableTransform)
-
Method Summary
Modifier and Type Method Description MatrixgetMatrix()BaseKeyframeAnimation<out Object, Float>getStartOpacity()BaseKeyframeAnimation<out Object, Float>getEndOpacity()voidaddAnimationsToLayer(BaseLayer layer)voidaddListener(BaseKeyframeAnimation.AnimationListener listener)voidsetProgress(float progress)MatrixgetMatrixForRepeater(float amount)Get transformation matrix for repeater content.This method applies transformations scaled by the amount parameter. <T> booleanapplyValueCallback(T property, @Nullable() LottieValueCallback<T> callback)Returns whether the callback was applied. -
-
Constructor Detail
-
TransformKeyframeAnimation
TransformKeyframeAnimation(AnimatableTransform animatableTransform)
-
-
Method Detail
-
getStartOpacity
@Nullable() BaseKeyframeAnimation<out Object, Float> getStartOpacity()
-
getEndOpacity
@Nullable() BaseKeyframeAnimation<out Object, Float> getEndOpacity()
-
addAnimationsToLayer
void addAnimationsToLayer(BaseLayer layer)
-
addListener
void addListener(BaseKeyframeAnimation.AnimationListener listener)
-
setProgress
void setProgress(float progress)
-
getMatrixForRepeater
Matrix getMatrixForRepeater(float amount)
Get transformation matrix for repeater content.This method applies transformations scaled by the amount parameter.
- Parameters:
amount- Scaling factor for all transformations (based on copy index + offset)
-
applyValueCallback
<T> boolean applyValueCallback(T property, @Nullable() LottieValueCallback<T> callback)
Returns whether the callback was applied.
-
-
-
-