Package com.airbnb.lottie.model.content
Class PolystarShape
- java.lang.Object
-
- com.airbnb.lottie.model.content.PolystarShape
-
- All Implemented Interfaces:
ContentModel
public class PolystarShape extends Object implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPolystarShape.Type
-
Constructor Summary
Constructors Constructor Description PolystarShape(String name, PolystarShape.Type type, AnimatableFloatValue points, AnimatableValue<PointF,PointF> position, AnimatableFloatValue rotation, AnimatableFloatValue innerRadius, AnimatableFloatValue outerRadius, AnimatableFloatValue innerRoundedness, AnimatableFloatValue outerRoundedness, boolean hidden, boolean isReversed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimatableFloatValuegetInnerRadius()AnimatableFloatValuegetInnerRoundedness()StringgetName()AnimatableFloatValuegetOuterRadius()AnimatableFloatValuegetOuterRoundedness()AnimatableFloatValuegetPoints()AnimatableValue<PointF,PointF>getPosition()AnimatableFloatValuegetRotation()PolystarShape.TypegetType()booleanisHidden()booleanisReversed()ContenttoContent(LottieDrawable drawable, BaseLayer layer)
-
-
-
Constructor Detail
-
PolystarShape
public PolystarShape(String name, PolystarShape.Type type, AnimatableFloatValue points, AnimatableValue<PointF,PointF> position, AnimatableFloatValue rotation, AnimatableFloatValue innerRadius, AnimatableFloatValue outerRadius, AnimatableFloatValue innerRoundedness, AnimatableFloatValue outerRoundedness, boolean hidden, boolean isReversed)
-
-
Method Detail
-
getName
public String getName()
-
getType
public PolystarShape.Type getType()
-
getPoints
public AnimatableFloatValue getPoints()
-
getPosition
public AnimatableValue<PointF,PointF> getPosition()
-
getRotation
public AnimatableFloatValue getRotation()
-
getInnerRadius
public AnimatableFloatValue getInnerRadius()
-
getOuterRadius
public AnimatableFloatValue getOuterRadius()
-
getInnerRoundedness
public AnimatableFloatValue getInnerRoundedness()
-
getOuterRoundedness
public AnimatableFloatValue getOuterRoundedness()
-
isHidden
public boolean isHidden()
-
isReversed
public boolean isReversed()
-
toContent
public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
-