public class GradientStrokeContent extends BaseStrokeContent
layer| Constructor and Description |
|---|
GradientStrokeContent(LottieDrawable lottieDrawable,
BaseLayer layer,
GradientStroke stroke) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addValueCallback(T property,
LottieValueCallback<T> callback)
The overridden method should handle appropriate properties and set value callbacks on their
animations.
|
void |
draw(android.graphics.Canvas canvas,
android.graphics.Matrix parentMatrix,
int parentAlpha) |
java.lang.String |
getName() |
getBounds, onValueChanged, resolveKeyPath, setContentspublic GradientStrokeContent(LottieDrawable lottieDrawable, BaseLayer layer, GradientStroke stroke)
public void draw(android.graphics.Canvas canvas,
android.graphics.Matrix parentMatrix,
int parentAlpha)
draw in interface DrawingContentdraw in class BaseStrokeContentpublic java.lang.String getName()
public <T> void addValueCallback(T property,
LottieValueCallback<T> callback)
KeyPathElementaddValueCallback in interface KeyPathElementaddValueCallback in class BaseStrokeContent