Class ShapeContent
- java.lang.Object
-
- com.airbnb.lottie.animation.content.ShapeContent
-
- All Implemented Interfaces:
Content,BaseKeyframeAnimation.AnimationListener
public class ShapeContent extends java.lang.Object implements BaseKeyframeAnimation.AnimationListener
-
-
Constructor Summary
Constructors Constructor Description ShapeContent(LottieDrawable lottieDrawable, BaseLayer layer, ShapePath shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()PathgetPath()voidonValueChanged()voidsetContents(java.util.List<Content> contentsBefore, java.util.List<Content> contentsAfter)
-
-
-
Constructor Detail
-
ShapeContent
public ShapeContent(LottieDrawable lottieDrawable, BaseLayer layer, ShapePath shape)
-
-
Method Detail
-
onValueChanged
public void onValueChanged()
- Specified by:
onValueChangedin interfaceBaseKeyframeAnimation.AnimationListener
-
setContents
public void setContents(java.util.List<Content> contentsBefore, java.util.List<Content> contentsAfter)
- Specified by:
setContentsin interfaceContent
-
getPath
public Path getPath()
-
-