python-lottie  0.6.11+devcecd248
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.restructure.AbstractBuilder Class Reference

Public Member Functions

def process (self, objects.Animation animation)
 
def process_layer (self, layer_builder, out_parent)
 
def shapegroup_process_child (self, shape, shapegroup, out_parent)
 
def shapegroup_process_children (self, shapegroup, out_parent)
 
def restructure_animation (self, animation, merge_paths)
 
def restructure_layer_list (self, layer_list, merge_paths)
 
def restructure_shapegroup (self, shape, shape_group, merge_paths)
 

Static Public Attributes

bool merge_paths = False
 

Detailed Description

Definition at line 73 of file restructure.py.

Member Function Documentation

◆ process()

def lottie.utils.restructure.AbstractBuilder.process (   self,
objects.Animation  animation 
)

Definition at line 91 of file restructure.py.

◆ process_layer()

def lottie.utils.restructure.AbstractBuilder.process_layer (   self,
  layer_builder,
  out_parent 
)

Definition at line 120 of file restructure.py.

◆ restructure_animation()

def lottie.utils.restructure.AbstractBuilder.restructure_animation (   self,
  animation,
  merge_paths 
)

Definition at line 155 of file restructure.py.

◆ restructure_layer_list()

def lottie.utils.restructure.AbstractBuilder.restructure_layer_list (   self,
  layer_list,
  merge_paths 
)

Definition at line 164 of file restructure.py.

◆ restructure_shapegroup()

def lottie.utils.restructure.AbstractBuilder.restructure_shapegroup (   self,
  shape,
  shape_group,
  merge_paths 
)

Definition at line 199 of file restructure.py.

◆ shapegroup_process_child()

def lottie.utils.restructure.AbstractBuilder.shapegroup_process_child (   self,
  shape,
  shapegroup,
  out_parent 
)

Definition at line 141 of file restructure.py.

◆ shapegroup_process_children()

def lottie.utils.restructure.AbstractBuilder.shapegroup_process_children (   self,
  shapegroup,
  out_parent 
)

Definition at line 151 of file restructure.py.

Member Data Documentation

◆ merge_paths

bool lottie.utils.restructure.AbstractBuilder.merge_paths = False
static

Definition at line 74 of file restructure.py.


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