-
- All Implemented Interfaces:
-
com.airbnb.lottie.model.content.ContentModel
public class PolystarShape implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPolystarShape.Type
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final PolystarShape.Typetypeprivate final AnimatableFloatValuepointsprivate final AnimatableValue<PointF, PointF>positionprivate final AnimatableFloatValuerotationprivate final AnimatableFloatValueinnerRadiusprivate final AnimatableFloatValueouterRadiusprivate final AnimatableFloatValueinnerRoundednessprivate final AnimatableFloatValueouterRoundednessprivate final booleanisReversed
-
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
Modifier and Type Method Description StringgetName()PolystarShape.TypegetType()AnimatableFloatValuegetPoints()AnimatableValue<PointF, PointF>getPosition()AnimatableFloatValuegetRotation()AnimatableFloatValuegetInnerRadius()AnimatableFloatValuegetOuterRadius()AnimatableFloatValuegetInnerRoundedness()AnimatableFloatValuegetOuterRoundedness()booleanisReversed()booleanisHidden()ContenttoContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)-
-
Constructor Detail
-
PolystarShape
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
-
getType
PolystarShape.Type getType()
-
getPoints
AnimatableFloatValue getPoints()
-
getPosition
AnimatableValue<PointF, PointF> getPosition()
-
getRotation
AnimatableFloatValue getRotation()
-
getInnerRadius
AnimatableFloatValue getInnerRadius()
-
getOuterRadius
AnimatableFloatValue getOuterRadius()
-
getInnerRoundedness
AnimatableFloatValue getInnerRoundedness()
-
getOuterRoundedness
AnimatableFloatValue getOuterRoundedness()
-
isReversed
boolean isReversed()
-
isHidden
boolean isHidden()
-
toContent
Content toContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)
-
-
-
-