public class GradientStroke extends java.lang.Object implements ContentModel
| Constructor and Description |
|---|
GradientStroke(java.lang.String name,
GradientType gradientType,
AnimatableGradientColorValue gradientColor,
AnimatableIntegerValue opacity,
AnimatablePointValue startPoint,
AnimatablePointValue endPoint,
AnimatableFloatValue width,
ShapeStroke.LineCapType capType,
ShapeStroke.LineJoinType joinType,
float miterLimit,
java.util.List<AnimatableFloatValue> lineDashPattern,
AnimatableFloatValue dashOffset,
boolean hidden) |
| Modifier and Type | Method and Description |
|---|---|
ShapeStroke.LineCapType |
getCapType() |
AnimatableFloatValue |
getDashOffset() |
AnimatablePointValue |
getEndPoint() |
AnimatableGradientColorValue |
getGradientColor() |
GradientType |
getGradientType() |
ShapeStroke.LineJoinType |
getJoinType() |
java.util.List<AnimatableFloatValue> |
getLineDashPattern() |
float |
getMiterLimit() |
java.lang.String |
getName() |
AnimatableIntegerValue |
getOpacity() |
AnimatablePointValue |
getStartPoint() |
AnimatableFloatValue |
getWidth() |
boolean |
isHidden() |
Content |
toContent(LottieDrawable drawable,
BaseLayer layer) |
public GradientStroke(java.lang.String name,
GradientType gradientType,
AnimatableGradientColorValue gradientColor,
AnimatableIntegerValue opacity,
AnimatablePointValue startPoint,
AnimatablePointValue endPoint,
AnimatableFloatValue width,
ShapeStroke.LineCapType capType,
ShapeStroke.LineJoinType joinType,
float miterLimit,
java.util.List<AnimatableFloatValue> lineDashPattern,
AnimatableFloatValue dashOffset,
boolean hidden)
public java.lang.String getName()
public GradientType getGradientType()
public AnimatableGradientColorValue getGradientColor()
public AnimatableIntegerValue getOpacity()
public AnimatablePointValue getStartPoint()
public AnimatablePointValue getEndPoint()
public AnimatableFloatValue getWidth()
public ShapeStroke.LineCapType getCapType()
public ShapeStroke.LineJoinType getJoinType()
public java.util.List<AnimatableFloatValue> getLineDashPattern()
public AnimatableFloatValue getDashOffset()
public float getMiterLimit()
public boolean isHidden()
public Content toContent(LottieDrawable drawable, BaseLayer layer)
toContent in interface ContentModel