-
- All Implemented Interfaces:
-
com.airbnb.lottie.model.content.ContentModel
public class ShapeFill implements ContentModel
-
-
Field Summary
Fields Modifier and Type Field Description private final Path.FillTypefillTypeprivate final Stringnameprivate final AnimatableColorValuecolorprivate final AnimatableIntegerValueopacity
-
Constructor Summary
Constructors Constructor Description ShapeFill(String name, boolean fillEnabled, Path.FillType fillType, AnimatableColorValue color, AnimatableIntegerValue opacity, boolean hidden)
-
Method Summary
Modifier and Type Method Description Path.FillTypegetFillType()StringgetName()AnimatableColorValuegetColor()AnimatableIntegerValuegetOpacity()booleanisHidden()ContenttoContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)StringtoString()-
-
Constructor Detail
-
ShapeFill
ShapeFill(String name, boolean fillEnabled, Path.FillType fillType, AnimatableColorValue color, AnimatableIntegerValue opacity, boolean hidden)
-
-
Method Detail
-
getFillType
Path.FillType getFillType()
-
getColor
@Nullable() AnimatableColorValue getColor()
-
getOpacity
@Nullable() AnimatableIntegerValue getOpacity()
-
isHidden
boolean isHidden()
-
toContent
Content toContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)
-
-
-
-