Package com.airbnb.lottie.model.layer
Class ShapeLayer
- java.lang.Object
-
- com.airbnb.lottie.model.layer.BaseLayer
-
- com.airbnb.lottie.model.layer.ShapeLayer
-
- All Implemented Interfaces:
Content,DrawingContent,BaseKeyframeAnimation.AnimationListener,KeyPathElement
public class ShapeLayer extends BaseLayer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlurEffectgetBlurEffect()voidgetBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents)DropShadowEffectgetDropShadowEffect()protected voidresolveChildKeyPath(KeyPath keyPath, int depth, List<KeyPath> accumulator, KeyPath currentPartialKeyPath)-
Methods inherited from class com.airbnb.lottie.model.layer.BaseLayer
addAnimation, addValueCallback, draw, getBlurMaskFilter, getName, onValueChanged, removeAnimation, resolveKeyPath, setContents
-
-
-
-
Method Detail
-
getBounds
public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents)
- Specified by:
getBoundsin interfaceDrawingContent- Overrides:
getBoundsin classBaseLayer
-
getBlurEffect
@Nullable public BlurEffect getBlurEffect()
- Overrides:
getBlurEffectin classBaseLayer
-
getDropShadowEffect
@Nullable public DropShadowEffect getDropShadowEffect()
- Overrides:
getDropShadowEffectin classBaseLayer
-
-