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

Public Member Functions

def __init__ (self, x, y)
 
def add_pixel_x (self, x, y)
 
def add_pixel_x_neg (self, x, y)
 
def add_pixel_y (self, x, y)
 
def to_shape (self, scale)
 

Public Attributes

 vertices
 

Detailed Description

Definition at line 7 of file pixel.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.parsers.pixel.Polygen.__init__ (   self,
  x,
  y 
)

Definition at line 8 of file pixel.py.

Member Function Documentation

◆ add_pixel_x()

def lottie.parsers.pixel.Polygen.add_pixel_x (   self,
  x,
  y 
)

Definition at line 18 of file pixel.py.

◆ add_pixel_x_neg()

def lottie.parsers.pixel.Polygen.add_pixel_x_neg (   self,
  x,
  y 
)

Definition at line 27 of file pixel.py.

◆ add_pixel_y()

def lottie.parsers.pixel.Polygen.add_pixel_y (   self,
  x,
  y 
)

Definition at line 36 of file pixel.py.

◆ to_shape()

def lottie.parsers.pixel.Polygen.to_shape (   self,
  scale 
)

Definition at line 53 of file pixel.py.

Member Data Documentation

◆ vertices

lottie.parsers.pixel.Polygen.vertices

Definition at line 9 of file pixel.py.


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