Package com.airbnb.lottie.model.content
Class ShapeStroke
- java.lang.Object
-
- com.airbnb.lottie.model.content.ShapeStroke
-
- All Implemented Interfaces:
ContentModel
public class ShapeStroke extends java.lang.Object implements ContentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShapeStroke.LineCapTypestatic classShapeStroke.LineJoinType
-
Constructor Summary
Constructors Constructor Description ShapeStroke(java.lang.String name, AnimatableFloatValue offset, java.util.List<AnimatableFloatValue> lineDashPattern, AnimatableColorValue color, AnimatableIntegerValue opacity, AnimatableFloatValue width, ShapeStroke.LineCapType capType, ShapeStroke.LineJoinType joinType, float miterLimit, boolean hidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShapeStroke.LineCapTypegetCapType()AnimatableColorValuegetColor()AnimatableFloatValuegetDashOffset()ShapeStroke.LineJoinTypegetJoinType()java.util.List<AnimatableFloatValue>getLineDashPattern()floatgetMiterLimit()java.lang.StringgetName()AnimatableIntegerValuegetOpacity()AnimatableFloatValuegetWidth()booleanisHidden()ContenttoContent(LottieDrawable drawable, BaseLayer layer)
-
-
-
Constructor Detail
-
ShapeStroke
public ShapeStroke(java.lang.String name, @Nullable AnimatableFloatValue offset, java.util.List<AnimatableFloatValue> lineDashPattern, AnimatableColorValue color, AnimatableIntegerValue opacity, AnimatableFloatValue width, ShapeStroke.LineCapType capType, ShapeStroke.LineJoinType joinType, float miterLimit, boolean hidden)
-
-
Method Detail
-
toContent
public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
getName
public java.lang.String getName()
-
getColor
public AnimatableColorValue getColor()
-
getOpacity
public AnimatableIntegerValue getOpacity()
-
getWidth
public AnimatableFloatValue getWidth()
-
getLineDashPattern
public java.util.List<AnimatableFloatValue> getLineDashPattern()
-
getDashOffset
public AnimatableFloatValue getDashOffset()
-
getCapType
public ShapeStroke.LineCapType getCapType()
-
getJoinType
public ShapeStroke.LineJoinType getJoinType()
-
getMiterLimit
public float getMiterLimit()
-
isHidden
public boolean isHidden()
-
-