Package com.airbnb.lottie.model.content
Class GradientFill
- java.lang.Object
-
- com.airbnb.lottie.model.content.GradientFill
-
- All Implemented Interfaces:
ContentModel
public class GradientFill extends Object implements ContentModel
-
-
Constructor Summary
Constructors Constructor Description GradientFill(String name, GradientType gradientType, Path.FillType fillType, AnimatableGradientColorValue gradientColor, AnimatableIntegerValue opacity, AnimatablePointValue startPoint, AnimatablePointValue endPoint, AnimatableFloatValue highlightLength, AnimatableFloatValue highlightAngle, boolean hidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimatablePointValuegetEndPoint()Path.FillTypegetFillType()AnimatableGradientColorValuegetGradientColor()GradientTypegetGradientType()StringgetName()AnimatableIntegerValuegetOpacity()AnimatablePointValuegetStartPoint()booleanisHidden()ContenttoContent(LottieDrawable drawable, BaseLayer layer)
-
-
-
Constructor Detail
-
GradientFill
public GradientFill(String name, GradientType gradientType, Path.FillType fillType, AnimatableGradientColorValue gradientColor, AnimatableIntegerValue opacity, AnimatablePointValue startPoint, AnimatablePointValue endPoint, AnimatableFloatValue highlightLength, AnimatableFloatValue highlightAngle, boolean hidden)
-
-
Method Detail
-
getName
public String getName()
-
getGradientType
public GradientType getGradientType()
-
getFillType
public Path.FillType getFillType()
-
getGradientColor
public AnimatableGradientColorValue getGradientColor()
-
getOpacity
public AnimatableIntegerValue getOpacity()
-
getStartPoint
public AnimatablePointValue getStartPoint()
-
getEndPoint
public AnimatablePointValue getEndPoint()
-
isHidden
public boolean isHidden()
-
toContent
public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
-