public class ShapeStroke extends java.lang.Object implements ContentModel
| Modifier and Type | Class and Description |
|---|---|
static class |
ShapeStroke.LineCapType |
static class |
ShapeStroke.LineJoinType |
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
ShapeStroke.LineCapType |
getCapType() |
AnimatableColorValue |
getColor() |
AnimatableFloatValue |
getDashOffset() |
ShapeStroke.LineJoinType |
getJoinType() |
java.util.List<AnimatableFloatValue> |
getLineDashPattern() |
float |
getMiterLimit() |
java.lang.String |
getName() |
AnimatableIntegerValue |
getOpacity() |
AnimatableFloatValue |
getWidth() |
boolean |
isHidden() |
Content |
toContent(LottieDrawable drawable,
BaseLayer layer) |
public 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)
public Content toContent(LottieDrawable drawable, BaseLayer layer)
toContent in interface ContentModelpublic java.lang.String getName()
public AnimatableColorValue getColor()
public AnimatableIntegerValue getOpacity()
public AnimatableFloatValue getWidth()
public java.util.List<AnimatableFloatValue> getLineDashPattern()
public AnimatableFloatValue getDashOffset()
public ShapeStroke.LineCapType getCapType()
public ShapeStroke.LineJoinType getJoinType()
public float getMiterLimit()
public boolean isHidden()