python-lottie
0.7.0+dev66cafb9
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
5
class
TextBased
(
LottieEnum
):
6
Characters = 1
7
CharacterExcludingSpaces = 2
8
Words = 3
9
Lines = 4
10
11
@classmethod
12
def
default
(cls):
13
return
cls.
Characters
Characters
14
15
16
## @ingroup Lottie
17
class
TextShape
(
LottieEnum
):
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
Square
lottie.objects.base.LottieEnum
Base class for enum-like types in the Lottie JSON structure.
Definition:
base.py:42
lottie.objects.enums.TextBased
Definition:
enums.py:5
lottie.objects.enums.TextBased.Characters
int Characters
Definition:
enums.py:6
lottie.objects.enums.TextBased.default
def default(cls)
Definition:
enums.py:12
lottie.objects.enums.TextShape
Definition:
enums.py:17
lottie.objects.enums.TextShape.default
def default(cls)
Definition:
enums.py:26
lottie.objects.enums.TextShape.Square
int Square
Definition:
enums.py:18
lottie
objects
enums.py
Generated by
1.9.1