public class Layer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Layer.LayerType |
static class |
Layer.MatteType |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
Layer.LayerType |
getLayerType() |
boolean |
isHidden() |
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String prefix) |
public 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)
public long getId()
public Layer.LayerType getLayerType()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isHidden()
public java.lang.String toString(java.lang.String prefix)