python-lottie  0.7.0+devd020110
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.svg.importer.SvgGradientCoord Class Reference

Public Member Functions

def __init__ (self, name, comp, value, percent)
 
def to_value (self, bbox, default=None)
 
def parse (self, attr, default_percent)
 

Public Attributes

 name
 
 comp
 
 value
 
 percent
 

Detailed Description

Definition at line 22 of file importer.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.parsers.svg.importer.SvgGradientCoord.__init__ (   self,
  name,
  comp,
  value,
  percent 
)

Definition at line 23 of file importer.py.

Member Function Documentation

◆ parse()

def lottie.parsers.svg.importer.SvgGradientCoord.parse (   self,
  attr,
  default_percent 
)

Definition at line 44 of file importer.py.

◆ to_value()

def lottie.parsers.svg.importer.SvgGradientCoord.to_value (   self,
  bbox,
  default = None 
)

Definition at line 29 of file importer.py.

Member Data Documentation

◆ comp

lottie.parsers.svg.importer.SvgGradientCoord.comp

Definition at line 25 of file importer.py.

◆ name

lottie.parsers.svg.importer.SvgGradientCoord.name

Definition at line 24 of file importer.py.

◆ percent

lottie.parsers.svg.importer.SvgGradientCoord.percent

Definition at line 27 of file importer.py.

◆ value

lottie.parsers.svg.importer.SvgGradientCoord.value

Definition at line 26 of file importer.py.


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