Package com.airbnb.lottie.model.content
Class ShapeTrimPath
- java.lang.Object
-
- com.airbnb.lottie.model.content.ShapeTrimPath
-
- All Implemented Interfaces:
ContentModel
public class ShapeTrimPath extends Object implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShapeTrimPath.Type
-
Constructor Summary
Constructors Constructor Description ShapeTrimPath(String name, ShapeTrimPath.Type type, AnimatableFloatValue start, AnimatableFloatValue end, AnimatableFloatValue offset, boolean hidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimatableFloatValuegetEnd()StringgetName()AnimatableFloatValuegetOffset()AnimatableFloatValuegetStart()ShapeTrimPath.TypegetType()booleanisHidden()ContenttoContent(LottieDrawable drawable, BaseLayer layer)StringtoString()
-
-
-
Constructor Detail
-
ShapeTrimPath
public ShapeTrimPath(String name, ShapeTrimPath.Type type, AnimatableFloatValue start, AnimatableFloatValue end, AnimatableFloatValue offset, boolean hidden)
-
-
Method Detail
-
getName
public String getName()
-
getType
public ShapeTrimPath.Type getType()
-
getEnd
public AnimatableFloatValue getEnd()
-
getStart
public AnimatableFloatValue getStart()
-
getOffset
public AnimatableFloatValue getOffset()
-
isHidden
public boolean isHidden()
-
toContent
public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
-