84 lines
2.9 KiB
Java
84 lines
2.9 KiB
Java
package com.airbnb.lottie.model.animatable;
|
|
|
|
import android.graphics.PointF;
|
|
import com.airbnb.lottie.LottieDrawable;
|
|
import com.airbnb.lottie.animation.content.Content;
|
|
import com.airbnb.lottie.animation.content.ModifierContent;
|
|
import com.airbnb.lottie.animation.keyframe.TransformKeyframeAnimation;
|
|
import com.airbnb.lottie.model.content.ContentModel;
|
|
import com.airbnb.lottie.model.layer.BaseLayer;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class AnimatableTransform implements ModifierContent, ContentModel {
|
|
private final AnimatablePathValue anchorPoint;
|
|
private final AnimatableFloatValue endOpacity;
|
|
private final AnimatableIntegerValue opacity;
|
|
private final AnimatableValue<PointF, PointF> position;
|
|
private final AnimatableFloatValue rotation;
|
|
private final AnimatableScaleValue scale;
|
|
private final AnimatableFloatValue skew;
|
|
private final AnimatableFloatValue skewAngle;
|
|
private final AnimatableFloatValue startOpacity;
|
|
|
|
@Override // com.airbnb.lottie.model.content.ContentModel
|
|
public Content toContent(LottieDrawable lottieDrawable, BaseLayer baseLayer) {
|
|
return null;
|
|
}
|
|
|
|
public AnimatableTransform() {
|
|
this(null, null, null, null, null, null, null, null, null);
|
|
}
|
|
|
|
public AnimatableTransform(AnimatablePathValue animatablePathValue, AnimatableValue<PointF, PointF> animatableValue, AnimatableScaleValue animatableScaleValue, AnimatableFloatValue animatableFloatValue, AnimatableIntegerValue animatableIntegerValue, AnimatableFloatValue animatableFloatValue2, AnimatableFloatValue animatableFloatValue3, AnimatableFloatValue animatableFloatValue4, AnimatableFloatValue animatableFloatValue5) {
|
|
this.anchorPoint = animatablePathValue;
|
|
this.position = animatableValue;
|
|
this.scale = animatableScaleValue;
|
|
this.rotation = animatableFloatValue;
|
|
this.opacity = animatableIntegerValue;
|
|
this.startOpacity = animatableFloatValue2;
|
|
this.endOpacity = animatableFloatValue3;
|
|
this.skew = animatableFloatValue4;
|
|
this.skewAngle = animatableFloatValue5;
|
|
}
|
|
|
|
public TransformKeyframeAnimation createAnimation() {
|
|
return new TransformKeyframeAnimation(this);
|
|
}
|
|
|
|
public AnimatableFloatValue getStartOpacity() {
|
|
return this.startOpacity;
|
|
}
|
|
|
|
public AnimatableFloatValue getSkewAngle() {
|
|
return this.skewAngle;
|
|
}
|
|
|
|
public AnimatableFloatValue getSkew() {
|
|
return this.skew;
|
|
}
|
|
|
|
public AnimatableScaleValue getScale() {
|
|
return this.scale;
|
|
}
|
|
|
|
public AnimatableFloatValue getRotation() {
|
|
return this.rotation;
|
|
}
|
|
|
|
public AnimatableValue<PointF, PointF> getPosition() {
|
|
return this.position;
|
|
}
|
|
|
|
public AnimatableIntegerValue getOpacity() {
|
|
return this.opacity;
|
|
}
|
|
|
|
public AnimatableFloatValue getEndOpacity() {
|
|
return this.endOpacity;
|
|
}
|
|
|
|
public AnimatablePathValue getAnchorPoint() {
|
|
return this.anchorPoint;
|
|
}
|
|
}
|