Package com.airbnb.lottie.model.content
Class RectangleShape
- java.lang.Object
-
- com.airbnb.lottie.model.content.RectangleShape
-
- All Implemented Interfaces:
ContentModel
public class RectangleShape extends java.lang.Object implements ContentModel
-
-
Constructor Summary
Constructors Constructor Description RectangleShape(java.lang.String name, AnimatableValue<PointF,PointF> position, AnimatableValue<PointF,PointF> size, AnimatableFloatValue cornerRadius, boolean hidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimatableFloatValuegetCornerRadius()java.lang.StringgetName()AnimatableValue<PointF,PointF>getPosition()AnimatableValue<PointF,PointF>getSize()booleanisHidden()ContenttoContent(LottieDrawable drawable, BaseLayer layer)java.lang.StringtoString()
-
-
-
Constructor Detail
-
RectangleShape
public RectangleShape(java.lang.String name, AnimatableValue<PointF,PointF> position, AnimatableValue<PointF,PointF> size, AnimatableFloatValue cornerRadius, boolean hidden)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getCornerRadius
public AnimatableFloatValue getCornerRadius()
-
getSize
public AnimatableValue<PointF,PointF> getSize()
-
getPosition
public AnimatableValue<PointF,PointF> getPosition()
-
isHidden
public boolean isHidden()
-
toContent
public Content toContent(LottieDrawable drawable, BaseLayer layer)
- Specified by:
toContentin interfaceContentModel
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-