Package com.airbnb.lottie.model.layer
Class Layer
- java.lang.Object
-
- com.airbnb.lottie.model.layer.Layer
-
public class Layer extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLayer.LayerTypestatic classLayer.MatteType
-
Constructor Summary
Constructors Constructor Description Layer(List<ContentModel> shapes, LottieComposition composition, String layerName, long layerId, Layer.LayerType layerType, long parentId, String refId, List<Mask> masks, AnimatableTransform transform, int solidWidth, int solidHeight, int solidColor, float timeStretch, float startFrame, int preCompWidth, int preCompHeight, AnimatableTextFrame text, AnimatableTextProperties textProperties, List<Keyframe<Float>> inOutKeyframes, Layer.MatteType matteType, AnimatableFloatValue timeRemapping, boolean hidden, BlurEffect blurEffect, DropShadowEffect dropShadowEffect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlurEffectgetBlurEffect()DropShadowEffectgetDropShadowEffect()longgetId()Layer.LayerTypegetLayerType()booleanisHidden()StringtoString()StringtoString(String prefix)
-
-
-
Constructor Detail
-
Layer
public Layer(List<ContentModel> shapes, LottieComposition composition, String layerName, long layerId, Layer.LayerType layerType, long parentId, @Nullable String refId, List<Mask> masks, AnimatableTransform transform, int solidWidth, int solidHeight, int solidColor, float timeStretch, float startFrame, int preCompWidth, int preCompHeight, @Nullable AnimatableTextFrame text, @Nullable AnimatableTextProperties textProperties, List<Keyframe<Float>> inOutKeyframes, Layer.MatteType matteType, @Nullable AnimatableFloatValue timeRemapping, boolean hidden, @Nullable BlurEffect blurEffect, @Nullable DropShadowEffect dropShadowEffect)
-
-
Method Detail
-
getId
public long getId()
-
getLayerType
public Layer.LayerType getLayerType()
-
isHidden
public boolean isHidden()
-
getBlurEffect
@Nullable public BlurEffect getBlurEffect()
-
getDropShadowEffect
@Nullable public DropShadowEffect getDropShadowEffect()
-
-