Class AnimatableTransform
- java.lang.Object
-
- com.airbnb.lottie.model.animatable.AnimatableTransform
-
- All Implemented Interfaces:
ModifierContent,ContentModel
public class AnimatableTransform extends java.lang.Object implements ModifierContent, ContentModel
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformKeyframeAnimationcreateAnimation()AnimatablePathValuegetAnchorPoint()AnimatableFloatValuegetEndOpacity()AnimatableIntegerValuegetOpacity()AnimatableValue<PointF,PointF>getPosition()AnimatableFloatValuegetRotation()AnimatableScaleValuegetScale()AnimatableFloatValuegetSkew()AnimatableFloatValuegetSkewAngle()AnimatableFloatValuegetStartOpacity()ContenttoContent(LottieDrawable drawable, BaseLayer layer)
-
-
-
Constructor Detail
-
AnimatableTransform
public AnimatableTransform()
-
AnimatableTransform
public AnimatableTransform(@Nullable AnimatablePathValue anchorPoint, @Nullable AnimatableValue<PointF,PointF> position, @Nullable AnimatableScaleValue scale, @Nullable AnimatableFloatValue rotation, @Nullable AnimatableIntegerValue opacity, @Nullable AnimatableFloatValue startOpacity, @Nullable AnimatableFloatValue endOpacity, @Nullable AnimatableFloatValue skew, @Nullable AnimatableFloatValue skewAngle)
-
-
Method Detail
-
getAnchorPoint
@Nullable public AnimatablePathValue getAnchorPoint()
-
getPosition
@Nullable public AnimatableValue<PointF,PointF> getPosition()
-
getScale
@Nullable public AnimatableScaleValue getScale()
-
getRotation
@Nullable public AnimatableFloatValue getRotation()
-
getOpacity
@Nullable public AnimatableIntegerValue getOpacity()
-
getStartOpacity
@Nullable public AnimatableFloatValue getStartOpacity()
-
getEndOpacity
@Nullable public AnimatableFloatValue getEndOpacity()
-
getSkew
@Nullable public AnimatableFloatValue getSkew()
-
getSkewAngle
@Nullable public AnimatableFloatValue getSkewAngle()
-
createAnimation
public TransformKeyframeAnimation createAnimation()
-
toContent
@Nullable public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
-