python-lottie  0.6.8+dev6bb61be
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.shapes.Repeater Class Reference
Inheritance diagram for lottie.objects.shapes.Repeater:
Collaboration diagram for lottie.objects.shapes.Repeater:

Public Member Functions

def __init__ (self, copies=1)
- Public Member Functions inherited from lottie.objects.shapes.ShapeElement
def __init__ (self)
def bounding_box (self, time=0)
 Bounding box of the shape element at the given time. More...
def __str__ (self)
- Public Member Functions inherited from lottie.objects.base.LottieObject
def to_dict (self)
 Serializes into a JSON object fit for the Lottie format. More...
def load (cls, lottiedict)
 Loads from a JSON object. More...
def find (self, search, propname="name")
 Recursively searches for child objects with a matching property. More...
def find_all (self, type, predicate=None, include_self=True)
 Find all child objects that match a predicate. More...
def clone (self)
 Returns a copy of the object. More...
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)

Public Attributes

 Number of Copies. More...
 Offset of Copies. More...
 Composite of copies. More...
 Transform values for each repeater copy. More...
- Public Attributes inherited from lottie.objects.shapes.ShapeElement
 After Effect's Name. More...
 Property index. More...
 Hide element. More...

Static Public Attributes

string type = "rp"
 Shape type. More...
- Static Public Attributes inherited from lottie.objects.shapes.ShapeElement
 type = None
 Shape type. More...

Detailed Description

Duplicates previous shapes in a group
Lottie JSON
Lottie name Type Description Attribute
hd bool Hide element.   hidden
nm str After Effect's Name.   name
ty str = 'rp' Shape type.   type
cix int Property index.   property_index
bm int   bm
c Value Number of Copies.   copies
o Value Offset of Copies.   offset
m Composite Composite of copies.   composite
tr RepeaterTransform Transform values for each repeater copy.   transform

Definition at line 752 of file

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.shapes.Repeater.__init__ (   self,
  copies = 1 

Definition at line 765 of file

Member Data Documentation

◆ composite


Composite of copies.

Definition at line 772 of file

◆ copies


Number of Copies.

Definition at line 768 of file

◆ offset


Offset of Copies.

Definition at line 770 of file

◆ transform


Transform values for each repeater copy.

Definition at line 774 of file

◆ type

string lottie.objects.shapes.Repeater.type = "rp"

Shape type.

Definition at line 763 of file

The documentation for this class was generated from the following file: