-
- All Implemented Interfaces:
-
com.airbnb.lottie.animation.content.Content,com.airbnb.lottie.animation.content.GreedyContent,com.airbnb.lottie.animation.content.PathContent
public class MergePathsContent implements PathContent, GreedyContent
-
-
Constructor Summary
Constructors Constructor Description MergePathsContent(MergePaths mergePaths)
-
Method Summary
Modifier and Type Method Description PathgetPath()StringgetName()voidabsorbContent(ListIterator<Content> contents)An iterator of contents that can be used to take ownership of contents. voidsetContents(List<Content> contentsBefore, List<Content> contentsAfter)-
-
Constructor Detail
-
MergePathsContent
MergePathsContent(MergePaths mergePaths)
-
-
Method Detail
-
absorbContent
void absorbContent(ListIterator<Content> contents)
An iterator of contents that can be used to take ownership of contents. If ownership is taken,the content should be removed from the iterator.
The contents should be iterated by calling hasPrevious() and previous() so that the list ofcontents is traversed from bottom to top which is the correct order for handling AE logic.
-
setContents
void setContents(List<Content> contentsBefore, List<Content> contentsAfter)
-
-
-
-