-
- All Implemented Interfaces:
-
com.airbnb.lottie.animation.content.ModifierContent,com.airbnb.lottie.model.content.ContentModel
public class AnimatableTransform implements ModifierContent, ContentModel
-
-
Field Summary
Fields Modifier and Type Field Description private final AnimatablePathValueanchorPointprivate final AnimatableValue<PointF, PointF>positionprivate final AnimatableScaleValuescaleprivate final AnimatableFloatValuerotationprivate final AnimatableIntegerValueopacityprivate final AnimatableFloatValueskewprivate final AnimatableFloatValueskewAngleprivate final AnimatableFloatValuestartOpacityprivate final AnimatableFloatValueendOpacityprivate booleanautoOrient
-
Constructor Summary
Constructors Constructor Description AnimatableTransform()AnimatableTransform(AnimatablePathValue anchorPoint, AnimatableValue<PointF, PointF> position, AnimatableScaleValue scale, AnimatableFloatValue rotation, AnimatableIntegerValue opacity, AnimatableFloatValue startOpacity, AnimatableFloatValue endOpacity, AnimatableFloatValue skew, AnimatableFloatValue skewAngle)
-
Method Summary
Modifier and Type Method Description AnimatablePathValuegetAnchorPoint()AnimatableValue<PointF, PointF>getPosition()AnimatableScaleValuegetScale()AnimatableFloatValuegetRotation()AnimatableIntegerValuegetOpacity()AnimatableFloatValuegetSkew()AnimatableFloatValuegetSkewAngle()AnimatableFloatValuegetStartOpacity()AnimatableFloatValuegetEndOpacity()voidsetAutoOrient(boolean autoOrient)This is set as a property of the layer so it is parsed and set separately. booleanisAutoOrient()TransformKeyframeAnimationcreateAnimation()ContenttoContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)-
-
Constructor Detail
-
AnimatableTransform
AnimatableTransform()
-
AnimatableTransform
AnimatableTransform(AnimatablePathValue anchorPoint, AnimatableValue<PointF, PointF> position, AnimatableScaleValue scale, AnimatableFloatValue rotation, AnimatableIntegerValue opacity, AnimatableFloatValue startOpacity, AnimatableFloatValue endOpacity, AnimatableFloatValue skew, AnimatableFloatValue skewAngle)
-
-
Method Detail
-
getAnchorPoint
@Nullable() AnimatablePathValue getAnchorPoint()
-
getPosition
@Nullable() AnimatableValue<PointF, PointF> getPosition()
-
getScale
@Nullable() AnimatableScaleValue getScale()
-
getRotation
@Nullable() AnimatableFloatValue getRotation()
-
getOpacity
@Nullable() AnimatableIntegerValue getOpacity()
-
getSkew
@Nullable() AnimatableFloatValue getSkew()
-
getSkewAngle
@Nullable() AnimatableFloatValue getSkewAngle()
-
getStartOpacity
@Nullable() AnimatableFloatValue getStartOpacity()
-
getEndOpacity
@Nullable() AnimatableFloatValue getEndOpacity()
-
setAutoOrient
void setAutoOrient(boolean autoOrient)
This is set as a property of the layer so it is parsed and set separately.
-
isAutoOrient
boolean isAutoOrient()
-
createAnimation
TransformKeyframeAnimation createAnimation()
-
toContent
@Nullable() Content toContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)
-
-
-
-