Coverage for lib/lottie/objects/enums.py: 88%
17 statements
« prev ^ index » next coverage.py v7.2.2, created at 2023-03-20 16:17 +0100
« prev ^ index » next coverage.py v7.2.2, created at 2023-03-20 16:17 +0100
1from .base import LottieEnum
4## @ingroup Lottie
5class TextBased(LottieEnum):
6 Characters = 1
7 CharacterExcludingSpaces = 2
8 Words = 3
9 Lines = 4
11 @classmethod
12 def default(cls):
13 return cls.Characters
16## @ingroup Lottie
17class TextShape(LottieEnum):
18 Square = 1
19 RampUp = 2
20 RampDown = 3
21 Triangle = 4
22 Round = 5
23 Smooth = 6
25 @classmethod
26 def default(cls):
27 return cls.Square