public class CompositionLayer extends BaseLayer
| Constructor and Description |
|---|
CompositionLayer(LottieDrawable lottieDrawable,
Layer layerModel,
java.util.List<Layer> layerModels,
LottieComposition composition) |
| 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 |
getBounds(android.graphics.RectF outBounds,
android.graphics.Matrix parentMatrix,
boolean applyParents) |
boolean |
hasMasks() |
boolean |
hasMatte() |
protected void |
resolveChildKeyPath(KeyPath keyPath,
int depth,
java.util.List<KeyPath> accumulator,
KeyPath currentPartialKeyPath) |
void |
setProgress(float progress) |
addAnimation, draw, getName, onValueChanged, removeAnimation, resolveKeyPath, setContentspublic CompositionLayer(LottieDrawable lottieDrawable, Layer layerModel, java.util.List<Layer> layerModels, LottieComposition composition)
public void getBounds(android.graphics.RectF outBounds,
android.graphics.Matrix parentMatrix,
boolean applyParents)
getBounds in interface DrawingContentgetBounds in class BaseLayerpublic void setProgress(float progress)
public boolean hasMasks()
public boolean hasMatte()
protected void resolveChildKeyPath(KeyPath keyPath, int depth, java.util.List<KeyPath> accumulator, KeyPath currentPartialKeyPath)
public <T> void addValueCallback(T property,
LottieValueCallback<T> callback)
KeyPathElementaddValueCallback in interface KeyPathElementaddValueCallback in class BaseLayer