Package com.airbnb.lottie.model.layer
Class TextLayer
- java.lang.Object
-
- com.airbnb.lottie.model.layer.BaseLayer
-
- com.airbnb.lottie.model.layer.TextLayer
-
- All Implemented Interfaces:
Content,DrawingContent,BaseKeyframeAnimation.AnimationListener,KeyPathElement
public class TextLayer extends BaseLayer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> voidaddValueCallback(T property, LottieValueCallback<T> callback)The overridden method should handle appropriate properties and set value callbacks on their animations.voidgetBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents)-
Methods inherited from class com.airbnb.lottie.model.layer.BaseLayer
addAnimation, draw, getBlurEffect, getBlurMaskFilter, getDropShadowEffect, getName, onValueChanged, removeAnimation, resolveKeyPath, setContents
-
-
-
-
Method Detail
-
getBounds
public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents)
- Specified by:
getBoundsin interfaceDrawingContent- Overrides:
getBoundsin classBaseLayer
-
addValueCallback
public <T> void addValueCallback(T property, @Nullable LottieValueCallback<T> callback)Description copied from interface:KeyPathElementThe overridden method should handle appropriate properties and set value callbacks on their animations.- Specified by:
addValueCallbackin interfaceKeyPathElement- Overrides:
addValueCallbackin classBaseLayer
-
-