python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.exporters.cairo.PngRenderer Class Reference

Public Member Functions

def __init__ (self, animation, dpi)
 
def __enter__ (self)
 
def __exit__ (self, *a, **k)
 
def serialize (self, frame, file)
 

Public Attributes

 animation
 
 dpi
 

Detailed Description

Definition at line 40 of file cairo.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.exporters.cairo.PngRenderer.__init__ (   self,
  animation,
  dpi 
)

Definition at line 41 of file cairo.py.

Member Function Documentation

◆ __enter__()

def lottie.exporters.cairo.PngRenderer.__enter__ (   self)

Definition at line 45 of file cairo.py.

◆ __exit__()

def lottie.exporters.cairo.PngRenderer.__exit__ (   self,
a,
**  k 
)

Definition at line 48 of file cairo.py.

◆ serialize()

def lottie.exporters.cairo.PngRenderer.serialize (   self,
  frame,
  file 
)

Definition at line 51 of file cairo.py.

Member Data Documentation

◆ animation

lottie.exporters.cairo.PngRenderer.animation

Definition at line 42 of file cairo.py.

◆ dpi

lottie.exporters.cairo.PngRenderer.dpi

Definition at line 43 of file cairo.py.


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