-
- All Implemented Interfaces:
-
com.airbnb.lottie.model.content.ContentModel
public class ShapeStroke implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumShapeStroke.LineCapTypepublic enumShapeStroke.LineJoinType
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final List<AnimatableFloatValue>lineDashPatternprivate final AnimatableColorValuecolorprivate final AnimatableIntegerValueopacityprivate final AnimatableFloatValuewidthprivate final ShapeStroke.LineCapTypecapTypeprivate final ShapeStroke.LineJoinTypejoinTypeprivate final floatmiterLimit
-
Constructor Summary
Constructors Constructor Description ShapeStroke(String name, AnimatableFloatValue offset, List<AnimatableFloatValue> lineDashPattern, AnimatableColorValue color, AnimatableIntegerValue opacity, AnimatableFloatValue width, ShapeStroke.LineCapType capType, ShapeStroke.LineJoinType joinType, float miterLimit, boolean hidden)
-
Method Summary
Modifier and Type Method Description StringgetName()List<AnimatableFloatValue>getLineDashPattern()AnimatableColorValuegetColor()AnimatableIntegerValuegetOpacity()AnimatableFloatValuegetWidth()ShapeStroke.LineCapTypegetCapType()ShapeStroke.LineJoinTypegetJoinType()floatgetMiterLimit()ContenttoContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)AnimatableFloatValuegetDashOffset()booleanisHidden()-
-
Constructor Detail
-
ShapeStroke
ShapeStroke(String name, AnimatableFloatValue offset, List<AnimatableFloatValue> lineDashPattern, AnimatableColorValue color, AnimatableIntegerValue opacity, AnimatableFloatValue width, ShapeStroke.LineCapType capType, ShapeStroke.LineJoinType joinType, float miterLimit, boolean hidden)
-
-
Method Detail
-
getLineDashPattern
List<AnimatableFloatValue> getLineDashPattern()
-
getColor
AnimatableColorValue getColor()
-
getOpacity
AnimatableIntegerValue getOpacity()
-
getWidth
AnimatableFloatValue getWidth()
-
getCapType
ShapeStroke.LineCapType getCapType()
-
getJoinType
ShapeStroke.LineJoinType getJoinType()
-
getMiterLimit
float getMiterLimit()
-
toContent
Content toContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)
-
getDashOffset
AnimatableFloatValue getDashOffset()
-
isHidden
boolean isHidden()
-
-
-
-