python-lottie  0.6.11+devc144cca
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.sif.builder.SifBuilder Class Reference
Inheritance diagram for lottie.parsers.sif.builder.SifBuilder:
[legend]
Collaboration diagram for lottie.parsers.sif.builder.SifBuilder:
[legend]

Public Member Functions

def __init__ (self, gamma=1.0)
 
def layer_from_lottie (self, type, lottie, dom_parent)
 
def set_transform (self, group, transform)
 
def process_vector (self, multidim)
 
def process_vector_ext (self, kframes, getter)
 
def process_scalar (self, value, mult=None)
 
def apply_origin (self, sif_shape, lottie_shape)
 
def apply_group_fill (self, sif_shape, fill)
 
def apply_group_stroke (self, sif_shape, stroke)
 
def build_path (self, type, path, dom_parent, lottie_shape)
 
def bezier_point (self, lottie_path, point_index, sif_parent, offset)
 
def build_repeater (self, shape, inner, dom_parent)
 

Public Attributes

 canvas
 
 autoid
 

Detailed Description

Definition at line 30 of file builder.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.parsers.sif.builder.SifBuilder.__init__ (   self,
  gamma = 1.0 
)
@todo Add gamma option to lottie_convert.py

Definition at line 31 of file builder.py.

Member Function Documentation

◆ apply_group_fill()

def lottie.parsers.sif.builder.SifBuilder.apply_group_fill (   self,
  sif_shape,
  fill 
)

Definition at line 210 of file builder.py.

◆ apply_group_stroke()

def lottie.parsers.sif.builder.SifBuilder.apply_group_stroke (   self,
  sif_shape,
  stroke 
)

Definition at line 234 of file builder.py.

◆ apply_origin()

def lottie.parsers.sif.builder.SifBuilder.apply_origin (   self,
  sif_shape,
  lottie_shape 
)

Definition at line 204 of file builder.py.

◆ bezier_point()

def lottie.parsers.sif.builder.SifBuilder.bezier_point (   self,
  lottie_path,
  point_index,
  sif_parent,
  offset 
)

Definition at line 252 of file builder.py.

◆ build_path()

def lottie.parsers.sif.builder.SifBuilder.build_path (   self,
  type,
  path,
  dom_parent,
  lottie_shape 
)

Definition at line 242 of file builder.py.

◆ build_repeater()

def lottie.parsers.sif.builder.SifBuilder.build_repeater (   self,
  shape,
  inner,
  dom_parent 
)

Definition at line 395 of file builder.py.

◆ layer_from_lottie()

def lottie.parsers.sif.builder.SifBuilder.layer_from_lottie (   self,
  type,
  lottie,
  dom_parent 
)

Definition at line 79 of file builder.py.

◆ process_scalar()

def lottie.parsers.sif.builder.SifBuilder.process_scalar (   self,
  value,
  mult = None 
)

Definition at line 169 of file builder.py.

◆ process_vector()

def lottie.parsers.sif.builder.SifBuilder.process_vector (   self,
  multidim 
)

Definition at line 130 of file builder.py.

◆ process_vector_ext()

def lottie.parsers.sif.builder.SifBuilder.process_vector_ext (   self,
  kframes,
  getter 
)

Definition at line 140 of file builder.py.

◆ set_transform()

def lottie.parsers.sif.builder.SifBuilder.set_transform (   self,
  group,
  transform 
)

Definition at line 106 of file builder.py.

Member Data Documentation

◆ autoid

lottie.parsers.sif.builder.SifBuilder.autoid

Definition at line 39 of file builder.py.

◆ canvas

lottie.parsers.sif.builder.SifBuilder.canvas

Definition at line 36 of file builder.py.


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