-
- All Implemented Interfaces:
-
com.airbnb.lottie.model.content.ContentModel
public class RectangleShape implements ContentModel
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final AnimatableValue<PointF, PointF>positionprivate final AnimatableValue<PointF, PointF>sizeprivate final AnimatableFloatValuecornerRadius
-
Constructor Summary
Constructors Constructor Description RectangleShape(String name, AnimatableValue<PointF, PointF> position, AnimatableValue<PointF, PointF> size, AnimatableFloatValue cornerRadius, boolean hidden)
-
Method Summary
Modifier and Type Method Description StringgetName()AnimatableValue<PointF, PointF>getPosition()AnimatableValue<PointF, PointF>getSize()AnimatableFloatValuegetCornerRadius()booleanisHidden()ContenttoContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)StringtoString()-
-
Constructor Detail
-
RectangleShape
RectangleShape(String name, AnimatableValue<PointF, PointF> position, AnimatableValue<PointF, PointF> size, AnimatableFloatValue cornerRadius, boolean hidden)
-
-
Method Detail
-
getPosition
AnimatableValue<PointF, PointF> getPosition()
-
getSize
AnimatableValue<PointF, PointF> getSize()
-
getCornerRadius
AnimatableFloatValue getCornerRadius()
-
isHidden
boolean isHidden()
-
toContent
Content toContent(LottieDrawable drawable, LottieComposition composition, BaseLayer layer)
-
-
-
-