Package com.airbnb.lottie.model.content
Class RoundedCorners
- java.lang.Object
-
- com.airbnb.lottie.model.content.RoundedCorners
-
- All Implemented Interfaces:
ContentModel
public class RoundedCorners extends Object implements ContentModel
-
-
Constructor Summary
Constructors Constructor Description RoundedCorners(String name, AnimatableValue<Float,Float> cornerRadius)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimatableValue<Float,Float>getCornerRadius()StringgetName()ContenttoContent(LottieDrawable drawable, BaseLayer layer)
-
-
-
Constructor Detail
-
RoundedCorners
public RoundedCorners(String name, AnimatableValue<Float,Float> cornerRadius)
-
-
Method Detail
-
getName
public String getName()
-
getCornerRadius
public AnimatableValue<Float,Float> getCornerRadius()
-
toContent
@Nullable public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
-