python-lottie  0.6.11+devcecd248
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.raster.Vectorizer Class Reference

Public Member Functions

def __init__ (self, TraceOptions trace_options)
 
def prepare_layer (self, animation, layer_name=None)
 
def raster_to_layer (self, animation, raster, layer_name=None)
 
def traced_to_shapes (self, group, beziers)
 
def traced_to_bezier (self, path)
 

Public Attributes

 palette
 
 layers
 
 trace_options
 

Detailed Description

Definition at line 94 of file raster.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.parsers.raster.Vectorizer.__init__ (   self,
TraceOptions  trace_options 
)

Definition at line 95 of file raster.py.

Member Function Documentation

◆ prepare_layer()

def lottie.parsers.raster.Vectorizer.prepare_layer (   self,
  animation,
  layer_name = None 
)

Definition at line 107 of file raster.py.

◆ raster_to_layer()

def lottie.parsers.raster.Vectorizer.raster_to_layer (   self,
  animation,
  raster,
  layer_name = None 
)

Definition at line 120 of file raster.py.

◆ traced_to_bezier()

def lottie.parsers.raster.Vectorizer.traced_to_bezier (   self,
  path 
)

Definition at line 135 of file raster.py.

◆ traced_to_shapes()

def lottie.parsers.raster.Vectorizer.traced_to_shapes (   self,
  group,
  beziers 
)

Definition at line 127 of file raster.py.

Member Data Documentation

◆ layers

lottie.parsers.raster.Vectorizer.layers

Definition at line 97 of file raster.py.

◆ palette

lottie.parsers.raster.Vectorizer.palette

Definition at line 96 of file raster.py.

◆ trace_options

lottie.parsers.raster.Vectorizer.trace_options

Definition at line 98 of file raster.py.


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