Class TrimPathContent
- java.lang.Object
-
- com.airbnb.lottie.animation.content.TrimPathContent
-
- All Implemented Interfaces:
Content,BaseKeyframeAnimation.AnimationListener
public class TrimPathContent extends Object implements Content, BaseKeyframeAnimation.AnimationListener
-
-
Constructor Summary
Constructors Constructor Description TrimPathContent(BaseLayer layer, ShapeTrimPath trimPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseKeyframeAnimation<?,Float>getEnd()StringgetName()BaseKeyframeAnimation<?,Float>getOffset()BaseKeyframeAnimation<?,Float>getStart()booleanisHidden()voidonValueChanged()voidsetContents(List<Content> contentsBefore, List<Content> contentsAfter)
-
-
-
Constructor Detail
-
TrimPathContent
public TrimPathContent(BaseLayer layer, ShapeTrimPath trimPath)
-
-
Method Detail
-
onValueChanged
public void onValueChanged()
- Specified by:
onValueChangedin interfaceBaseKeyframeAnimation.AnimationListener
-
setContents
public void setContents(List<Content> contentsBefore, List<Content> contentsAfter)
- Specified by:
setContentsin interfaceContent
-
getStart
public BaseKeyframeAnimation<?,Float> getStart()
-
getEnd
public BaseKeyframeAnimation<?,Float> getEnd()
-
getOffset
public BaseKeyframeAnimation<?,Float> getOffset()
-
isHidden
public boolean isHidden()
-
-