python-lottie 0.7.1+dev23f1ddd
A framework to work with lottie files and telegram animated stickers (tgs)
|
Classes | |
class | PathDParser |
class | SvgDefsParent |
class | SvgGradient |
class | SvgGradientCoord |
class | SvgLinearGradient |
class | SvgParser |
class | SvgRadialGradient |
Functions | |
parse_color (color, current_color=Color(0, 0, 0, 1)) | |
Parses CSS colors. | |
parse_svg_etree (etree, layer_frames=0, *args, **kwargs) | |
parse_svg_file (file, layer_frames=0, *args, **kwargs) | |
Variables | |
bool | has_font = True |
dict | nocolor = {"none"} |
lottie.parsers.svg.importer.parse_color | ( | color, | |
current_color = Color(0, 0, 0, 1) |
|||
) |
Parses CSS colors.
Definition at line 134 of file importer.py.
lottie.parsers.svg.importer.parse_svg_etree | ( | etree, | |
layer_frames = 0 , |
|||
* | args, | ||
** | kwargs | ||
) |
Definition at line 1323 of file importer.py.
lottie.parsers.svg.importer.parse_svg_file | ( | file, | |
layer_frames = 0 , |
|||
* | args, | ||
** | kwargs | ||
) |
Definition at line 1328 of file importer.py.
bool lottie.parsers.svg.importer.has_font = True |
Definition at line 15 of file importer.py.
dict lottie.parsers.svg.importer.nocolor = {"none"} |
Definition at line 19 of file importer.py.