Package com.airbnb.lottie.model.content
Class ShapeFill
- java.lang.Object
-
- com.airbnb.lottie.model.content.ShapeFill
-
- All Implemented Interfaces:
ContentModel
public class ShapeFill extends Object implements ContentModel
-
-
Constructor Summary
Constructors Constructor Description ShapeFill(String name, boolean fillEnabled, Path.FillType fillType, AnimatableColorValue color, AnimatableIntegerValue opacity, boolean hidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimatableColorValuegetColor()Path.FillTypegetFillType()StringgetName()AnimatableIntegerValuegetOpacity()booleanisHidden()ContenttoContent(LottieDrawable drawable, BaseLayer layer)StringtoString()
-
-
-
Constructor Detail
-
ShapeFill
public ShapeFill(String name, boolean fillEnabled, Path.FillType fillType, @Nullable AnimatableColorValue color, @Nullable AnimatableIntegerValue opacity, boolean hidden)
-
-
Method Detail
-
getName
public String getName()
-
getColor
@Nullable public AnimatableColorValue getColor()
-
getOpacity
@Nullable public AnimatableIntegerValue getOpacity()
-
getFillType
public Path.FillType getFillType()
-
isHidden
public boolean isHidden()
-
toContent
public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
-