python-lottie
0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
|
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 | |
colors | |
coords | |
matrix | |
Definition at line 84 of file importer.py.
def lottie.parsers.svg.importer.SvgLinearGradient.__init__ | ( | self | ) |
Reimplemented from lottie.parsers.svg.importer.SvgGradient.
Definition at line 85 of file importer.py.
def lottie.parsers.svg.importer.SvgLinearGradient.to_lottie | ( | self, | |
gradient_shape, | |||
shape, | |||
time = 0 |
|||
) |
gradient_shape | Should be a GradientFill or GradientStroke |
shape | ShapeElement to apply the gradient to |
time | Time to fetch properties from shape |
Reimplemented from lottie.parsers.svg.importer.SvgGradient.
Definition at line 92 of file importer.py.