python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.stripper.Strip Class Reference
Inheritance diagram for lottie.utils.stripper.Strip:
[legend]
Collaboration diagram for lottie.utils.stripper.Strip:
[legend]

Public Member Functions

def __init__ (self, float_round, remove_attributes={})
 
def round (self, fl)
 
def nvector (self, value)
 
def visit_property (self, object, property, value)
 
- Public Member Functions inherited from lottie.objects.base.ObjectVisitor
def __call__ (self, lottie_object)
 
def visit (self, object)
 

Public Attributes

 float_round
 
 remove_attributes
 

Additional Inherited Members

- Static Public Attributes inherited from lottie.objects.base.ObjectVisitor
 DONT_RECURSE = object()
 

Detailed Description

Definition at line 7 of file stripper.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.stripper.Strip.__init__ (   self,
  float_round,
  remove_attributes = {} 
)

Definition at line 8 of file stripper.py.

Member Function Documentation

◆ nvector()

def lottie.utils.stripper.Strip.nvector (   self,
  value 
)

Definition at line 15 of file stripper.py.

◆ round()

def lottie.utils.stripper.Strip.round (   self,
  fl 
)

Definition at line 12 of file stripper.py.

◆ visit_property()

def lottie.utils.stripper.Strip.visit_property (   self,
  object,
  property,
  value 
)

Reimplemented from lottie.objects.base.ObjectVisitor.

Definition at line 19 of file stripper.py.

Member Data Documentation

◆ float_round

lottie.utils.stripper.Strip.float_round

Definition at line 9 of file stripper.py.

◆ remove_attributes

lottie.utils.stripper.Strip.remove_attributes

Definition at line 10 of file stripper.py.


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