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 java.lang.Object implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShapeTrimPath.Type
-
Constructor Summary
Constructors Constructor Description ShapeTrimPath(java.lang.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()java.lang.StringgetName()AnimatableFloatValuegetOffset()AnimatableFloatValuegetStart()ShapeTrimPath.TypegetType()booleanisHidden()ContenttoContent(LottieDrawable drawable, BaseLayer layer)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ShapeTrimPath
public ShapeTrimPath(java.lang.String name, ShapeTrimPath.Type type, AnimatableFloatValue start, AnimatableFloatValue end, AnimatableFloatValue offset, boolean hidden)
-
-
Method Detail
-
getName
public java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-