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