python-lottie  0.7.0+devd020110
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.svg.importer.SvgRadialGradient Class Reference
Inheritance diagram for lottie.parsers.svg.importer.SvgRadialGradient:
Collaboration diagram for lottie.parsers.svg.importer.SvgRadialGradient:

Public Member Functions

def __init__ (self)
def to_lottie (self, gradient_shape, shape, time=0)
- Public Member Functions inherited from lottie.parsers.svg.importer.SvgGradient
def add_color (self, offset, color)
def add_coord (self, value)
def parse_attrs (self, attrib)

Additional Inherited Members

- Public Attributes inherited from lottie.parsers.svg.importer.SvgGradient

Detailed Description

Definition at line 107 of file

Constructor & Destructor Documentation

◆ __init__()

def lottie.parsers.svg.importer.SvgRadialGradient.__init__ (   self)

Reimplemented from lottie.parsers.svg.importer.SvgGradient.

Definition at line 108 of file

Member Function Documentation

◆ to_lottie()

def lottie.parsers.svg.importer.SvgRadialGradient.to_lottie (   self,
  time = 0 
gradient_shapeShould be a GradientFill or GradientStroke
shapeShapeElement to apply the gradient to
timeTime to fetch properties from shape

Reimplemented from lottie.parsers.svg.importer.SvgGradient.

Definition at line 116 of file

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