python-lottie  0.6.10+devbd5499b
A framework to work with lottie files and telegram animated stickers (tgs)
enums.py
Go to the documentation of this file.
1 from .base import LottieEnum
2 
3 
4 ## @ingroup Lottie
6  Characters = 1
7  CharacterExcludingSpaces = 2
8  Words = 3
9  Lines = 4
10 
11  @classmethod
12  def default(cls):
13  return cls.Characters
14 
15 
16 ## @ingroup Lottie
18  Square = 1
19  RampUp = 2
20  RampDown = 3
21  Triangle = 4
22  Round = 5
23  Smooth = 6
24 
25  @classmethod
26  def default(cls):
27  return cls.Square
28 
29 
30 ## @ingroup Lottie
32  Characters = 1
33  Word = 2
34  Line = 3
35  All = 4
36 
37  @classmethod
38  def default(cls):
39  return cls.Characters
lottie.objects.enums.TextGrouping.Characters
int Characters
Definition: enums.py:32
lottie.objects.enums.TestBased.Characters
int Characters
Definition: enums.py:6
lottie.objects.enums.TestBased.default
def default(cls)
Definition: enums.py:12
lottie.objects.enums.TextShape.Square
int Square
Definition: enums.py:18
lottie.objects.enums.TextGrouping
Definition: enums.py:31
lottie.objects.enums.TestBased
Definition: enums.py:5
lottie.objects.base.LottieEnum
Base class for enum-like types in the Lottie JSON structure.
Definition: base.py:42
lottie.objects.enums.TextShape.default
def default(cls)
Definition: enums.py:26
lottie.objects.enums.TextShape
Definition: enums.py:17
lottie.objects.enums.TextGrouping.default
def default(cls)
Definition: enums.py:38